diff --git a/.env.example b/.env.example index cf15eb3..aed7337 100644 --- a/.env.example +++ b/.env.example @@ -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 ######### @@ -30,4 +31,5 @@ HOST1=example1.com HOST2=example2.com HOST3=example3.com HOST4=example4.com +HOST5=example5.com ############# END EXTRA HOST ############ diff --git a/Browserless/.env.example b/Browserless/.env.example index 36c950d..bd2f052 100644 --- a/Browserless/.env.example +++ b/Browserless/.env.example @@ -1,4 +1,5 @@ TOKEN=2cbc5771-38f2-4dcf-8774-50ad51a971b8 ENABLE_API_GET=true WORKSPACE_DELETE_EXPIRED=true -WORKSPACE_EXPIRE_DAYS=1 \ No newline at end of file +WORKSPACE_EXPIRE_DAYS=1 +CONNECTION_TIMEOUT=-1 \ No newline at end of file diff --git a/docker-compose.yml.example b/docker-compose.yml.example index e934bde..ef22aae 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -61,6 +61,9 @@ services: extra_hosts: - "${HOST1}:${HOST_IP}" - "${HOST2}:${HOST_IP}" + - "${HOST3}:${HOST_IP}" + - "${HOST4}:${HOST_IP}" + - "${HOST5}:${HOST_IP}" # CADVISOR cadvisor : @@ -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 @@ -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}"