Nuclear-grade workaround
This commit is contained in:
parent
1295e4f76d
commit
b924c0556c
|
@ -15,8 +15,25 @@ services:
|
||||||
- app_static:${STATIC_ROOT}
|
- app_static:${STATIC_ROOT}
|
||||||
#ports:
|
#ports:
|
||||||
# - "8000:8000" # uwsgi socket
|
# - "8000:8000" # uwsgi socket
|
||||||
env_file:
|
# I don't like this any more than you do
|
||||||
- /opt/containers/drugs/stack.env
|
environment:
|
||||||
|
APP_PORT: "${APP_PORT}"
|
||||||
|
REPO_DIR: "${REPO_DIR}"
|
||||||
|
STACK_FILE: "${STACK_FILE}"
|
||||||
|
APP_DATABASE_FILE: "${APP_DATABASE_FILE}"
|
||||||
|
DOMAIN: "${DOMAIN}"
|
||||||
|
URL: "${URL}"
|
||||||
|
ALLOWED_HOSTS: "${ALLOWED_HOSTS}"
|
||||||
|
NOTIFY_TOPIC: "${NOTIFY_TOPIC}"
|
||||||
|
CSRF_TRUSTED_ORIGINS: "${CSRF_TRUSTED_ORIGINS}"
|
||||||
|
DEBUG: "${DEBUG}"
|
||||||
|
SECRET_KEY: "${SECRET_KEY}"
|
||||||
|
STATIC_ROOT: "${STATIC_ROOT}"
|
||||||
|
REGISTRATION_OPEN: "${REGISTRATION_OPEN}"
|
||||||
|
OPERATION: "${OPERATION}"
|
||||||
|
PROFILER: "${PROFILER}"
|
||||||
|
BILLING_ENABLED: "${BILLING_ENABLED}"
|
||||||
|
DRUGBANK_USERNAME: "${DRUGBANK_USERNAME}"
|
||||||
# volumes_from:
|
# volumes_from:
|
||||||
# - tmp
|
# - tmp
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -45,8 +62,24 @@ services:
|
||||||
- app_static:${STATIC_ROOT}
|
- app_static:${STATIC_ROOT}
|
||||||
# volumes_from:
|
# volumes_from:
|
||||||
# - tmp
|
# - tmp
|
||||||
env_file:
|
environment:
|
||||||
- /opt/containers/drugs/stack.env
|
APP_PORT: "${APP_PORT}"
|
||||||
|
REPO_DIR: "${REPO_DIR}"
|
||||||
|
STACK_FILE: "${STACK_FILE}"
|
||||||
|
APP_DATABASE_FILE: "${APP_DATABASE_FILE}"
|
||||||
|
DOMAIN: "${DOMAIN}"
|
||||||
|
URL: "${URL}"
|
||||||
|
ALLOWED_HOSTS: "${ALLOWED_HOSTS}"
|
||||||
|
NOTIFY_TOPIC: "${NOTIFY_TOPIC}"
|
||||||
|
CSRF_TRUSTED_ORIGINS: "${CSRF_TRUSTED_ORIGINS}"
|
||||||
|
DEBUG: "${DEBUG}"
|
||||||
|
SECRET_KEY: "${SECRET_KEY}"
|
||||||
|
STATIC_ROOT: "${STATIC_ROOT}"
|
||||||
|
REGISTRATION_OPEN: "${REGISTRATION_OPEN}"
|
||||||
|
OPERATION: "${OPERATION}"
|
||||||
|
PROFILER: "${PROFILER}"
|
||||||
|
BILLING_ENABLED: "${BILLING_ENABLED}"
|
||||||
|
DRUGBANK_USERNAME: "${DRUGBANK_USERNAME}"
|
||||||
|
|
||||||
collectstatic:
|
collectstatic:
|
||||||
image: xf/drugs:prod
|
image: xf/drugs:prod
|
||||||
|
@ -62,8 +95,24 @@ services:
|
||||||
- app_static:${STATIC_ROOT}
|
- app_static:${STATIC_ROOT}
|
||||||
# volumes_from:
|
# volumes_from:
|
||||||
# - tmp
|
# - tmp
|
||||||
env_file:
|
environment:
|
||||||
- /opt/containers/drugs/stack.env
|
APP_PORT: "${APP_PORT}"
|
||||||
|
REPO_DIR: "${REPO_DIR}"
|
||||||
|
STACK_FILE: "${STACK_FILE}"
|
||||||
|
APP_DATABASE_FILE: "${APP_DATABASE_FILE}"
|
||||||
|
DOMAIN: "${DOMAIN}"
|
||||||
|
URL: "${URL}"
|
||||||
|
ALLOWED_HOSTS: "${ALLOWED_HOSTS}"
|
||||||
|
NOTIFY_TOPIC: "${NOTIFY_TOPIC}"
|
||||||
|
CSRF_TRUSTED_ORIGINS: "${CSRF_TRUSTED_ORIGINS}"
|
||||||
|
DEBUG: "${DEBUG}"
|
||||||
|
SECRET_KEY: "${SECRET_KEY}"
|
||||||
|
STATIC_ROOT: "${STATIC_ROOT}"
|
||||||
|
REGISTRATION_OPEN: "${REGISTRATION_OPEN}"
|
||||||
|
OPERATION: "${OPERATION}"
|
||||||
|
PROFILER: "${PROFILER}"
|
||||||
|
BILLING_ENABLED: "${BILLING_ENABLED}"
|
||||||
|
DRUGBANK_USERNAME: "${DRUGBANK_USERNAME}"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
|
Loading…
Reference in New Issue