From 47ef821c0f18b153165b286be04c178310659cf2 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Tue, 11 Jun 2024 23:02:48 +0500 Subject: [PATCH] Added environment UNIT_SOURCE as an example. --- 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 b0eb113..eca64f4 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -28,6 +28,9 @@ services: - redis - reverb env_file: app/application/.env + environment: + CONTAINER_ROLE: app + UNIT_SOURCE: '["172.16.0.0/12"]' queue: build: context: app diff --git a/docker-compose-prod_docker-hub.yml b/docker-compose-prod_docker-hub.yml index 5b07e03..55a6b72 100644 --- a/docker-compose-prod_docker-hub.yml +++ b/docker-compose-prod_docker-hub.yml @@ -18,6 +18,9 @@ services: - redis - reverb env_file: app/.env + environment: + CONTAINER_ROLE: app + UNIT_SOURCE: '["172.16.0.0/12"]' queue: image: korelf/service-captcha:0.8.1 # restart: always