From 7501968d04110c5ca53deab5971f8a9b3c2b5679 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sat, 6 Jul 2024 20:25:17 +0500 Subject: [PATCH] Added parameter UNIT_SOURCE. --- docker-compose-prod.yml | 3 +++ docker-compose-prod_docker-hub.yml | 3 +++ 2 files changed, 6 insertions(+) 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