Skip to content

Commit

Permalink
update .env and docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuniraju4444 committed Apr 30, 2020
1 parent d381df5 commit 89c16f7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ REDIS_VER=5.0.5
NGINX_VER=stable
MARIADB_VER=10.4.5
MYSQL_VER=8.0.16
ADMINER_VER=4.7.1
ADMINER_VER=4.7.6
ELASTIC_SEARCH_VER=6.2.4
CADVISOR_VER=latest
COMPOSER_VER=1.8.5
SONARQUBE_VER=7.1
BROWSERLESS_VER=latest
########### END CONTAINER VERSIONS ##########

########### INSTALL PHP EXTENSION ###########
PHP_EXTENSION=mysqli mbstring pdo pdo_mysql tokenizer xml
PHP_EXTENSION=mysqli pdo pdo_mysql tokenizer xml exif pcntl bcmath opcache
PECL_EXTENSION=
######### END INSTALL PHP EXTENSION #########

Expand All @@ -30,4 +31,5 @@ HOST1=example1.com
HOST2=example2.com
HOST3=example3.com
HOST4=example4.com
HOST5=example5.com
############# END EXTRA HOST ############
3 changes: 2 additions & 1 deletion Browserless/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TOKEN=2cbc5771-38f2-4dcf-8774-50ad51a971b8
ENABLE_API_GET=true
WORKSPACE_DELETE_EXPIRED=true
WORKSPACE_EXPIRE_DAYS=1
WORKSPACE_EXPIRE_DAYS=1
CONNECTION_TIMEOUT=-1
25 changes: 25 additions & 0 deletions docker-compose.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ services:
extra_hosts:
- "${HOST1}:${HOST_IP}"
- "${HOST2}:${HOST_IP}"
- "${HOST3}:${HOST_IP}"
- "${HOST4}:${HOST_IP}"
- "${HOST5}:${HOST_IP}"

# CADVISOR
cadvisor :
Expand Down Expand Up @@ -99,6 +102,9 @@ services:
extra_hosts:
- "${HOST1}:${HOST_IP}"
- "${HOST2}:${HOST_IP}"
- "${HOST3}:${HOST_IP}"
- "${HOST4}:${HOST_IP}"
- "${HOST5}:${HOST_IP}"
depends_on:
- php-fpm
- mariadb-master
Expand Down Expand Up @@ -235,6 +241,25 @@ services:
extra_hosts:
- "${HOST1}:${HOST_IP}"
- "${HOST2}:${HOST_IP}"
- "${HOST3}:${HOST_IP}"
- "${HOST4}:${HOST_IP}"
- "${HOST5}:${HOST_IP}"
volumes:
- ./Source:/var/www/html
- ./Supervisor/config:/etc/supervisor/config

# BROWSERLESS
browserless:
build:
context: ./Browserless
dockerfile: Dockerfile
args:
- CONTAINER_VERSION=${BROWSERLESS_VER}
env_file:
- ./Browserless/.env
extra_hosts:
- "${HOST1}:${HOST_IP}"
- "${HOST2}:${HOST_IP}"
- "${HOST3}:${HOST_IP}"
- "${HOST4}:${HOST_IP}"
- "${HOST5}:${HOST_IP}"

0 comments on commit 89c16f7

Please sign in to comment.