Pass through local settings file to mount

This commit is contained in:
Mark Veidemanis 2022-07-29 22:22:22 +01:00
parent dc9f30affe
commit 42f5c22c4b
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ services:
build: ./docker build: ./docker
volumes: volumes:
- ${PORTAINER_GIT_DIR}:/code - ${PORTAINER_GIT_DIR}:/code
- ${NEPTUNE_LOCAL_SETTINGS}:/code/app/local_settings.py
ports: ports:
- "${NEPTUNE_PORT}:8000" - "${NEPTUNE_PORT}:8000"
env_file: env_file:

View File

@ -6,6 +6,7 @@ services:
build: ./docker build: ./docker
volumes: volumes:
- ${PORTAINER_GIT_DIR}:/code - ${PORTAINER_GIT_DIR}:/code
- ${NEPTUNE_LOCAL_SETTINGS}:/code/app/local_settings.py
ports: ports:
- "${NEPTUNE_PORT}:8000" - "${NEPTUNE_PORT}:8000"
env_file: env_file: