diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index d82c456..15dbbae 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -12,6 +12,9 @@ services: - captcha-app ports: - ${DOCKER_APP_PORT}:9000 + environment: + CONTAINER_ROLE: app + UNIT_SOURCE: '"172.16.0.0/12"' volumes: - ./app/application:/var/www/html - ./certs:/var/www/html/resources/certs:ro diff --git a/docker-compose-prod_docker-hub.yml b/docker-compose-prod_docker-hub.yml index 46d2644..6e7a1c3 100644 --- a/docker-compose-prod_docker-hub.yml +++ b/docker-compose-prod_docker-hub.yml @@ -10,6 +10,9 @@ services: ports: - ${DOCKER_APP_PORT}:9000 env_file: app/.env + environment: + CONTAINER_ROLE: app + UNIT_SOURCE: '"172.16.0.0/12"' volumes: - ./app/storage/app:/var/www/html/storage/app - ./app/storage/logs:/var/www/html/storage/logs