Adding extra host ENV var for Docker

This commit is contained in:
Scott Idem
2023-02-23 17:49:48 -05:00
parent 8a5435d6dc
commit ea007cda13
2 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ OSIT_ENV=development
OSIT_WEB_HTTP_PORT=8080
OSIT_WEB_HTTPS_PORT=4443
# For now this extra host variable is important for the AE Flask app to connect to the AE FastAPI API.
DOCKER_AE_APP_EXTRA_HOST=dev-api.oneskyit.com:192.168.32.20
# Aether general shared config options
# For general shared config options like API access and use, database access and use, Redis, and SMTP
# home development, live testing, live production, onsite development, onsite testing, onsite production???

View File

@@ -279,7 +279,8 @@ services:
# networks:
# - local-net
extra_hosts:
- dev-api.oneskyit.com:192.168.32.20
# - dev-api.oneskyit.com:192.168.32.20
- "${DOCKER_AE_APP_EXTRA_HOST}"
volumes:
- ./conf/aether_flask_gunicorn_conf.py:/conf/gunicorn_flask_conf.py
- ./conf/aether_app_config.py:/srv/aether_app/flask_config_v2.py