Mount the uwsgi file instead of copying

This commit is contained in:
2022-07-29 22:22:22 +01:00
parent aed53dbf8f
commit 026d736bdc
4 changed files with 38 additions and 2 deletions

View File

@@ -3,13 +3,14 @@ version: "2"
services:
app:
image: pathogen/neptune
build: ./docker
build: ./docker/prod
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${PORTAINER_GIT_DIR}/docker/prod/uwsgi.ini:/conf/uwsgi.ini
- ${NEPTUNE_LOCAL_SETTINGS}:/code/app/local_settings.py
- ${NEPTUNE_DATABASE_FILE}:/code/db.sqlite3
ports:
- "${NEPTUNE_PORT}:8000"
- "${NEPTUNE_PORT}:8000" # uwsgi socket
env_file:
- ../stack.env