Added parameter UNIT_SOURCE.

This commit is contained in:
Leonid Nikitin 2024-07-06 20:25:17 +05:00
parent a949eae777
commit 7501968d04
Signed by: kor-elf
GPG Key ID: 3C0F720C170F6E1D
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,9 @@ services:
- captcha-app - captcha-app
ports: ports:
- ${DOCKER_APP_PORT}:9000 - ${DOCKER_APP_PORT}:9000
environment:
CONTAINER_ROLE: app
UNIT_SOURCE: '"172.16.0.0/12"'
volumes: volumes:
- ./app/application:/var/www/html - ./app/application:/var/www/html
- ./certs:/var/www/html/resources/certs:ro - ./certs:/var/www/html/resources/certs:ro

View File

@ -10,6 +10,9 @@ services:
ports: ports:
- ${DOCKER_APP_PORT}:9000 - ${DOCKER_APP_PORT}:9000
env_file: app/.env env_file: app/.env
environment:
CONTAINER_ROLE: app
UNIT_SOURCE: '"172.16.0.0/12"'
volumes: volumes:
- ./app/storage/app:/var/www/html/storage/app - ./app/storage/app:/var/www/html/storage/app
- ./app/storage/logs:/var/www/html/storage/logs - ./app/storage/logs:/var/www/html/storage/logs