Make app static root persistent between containers

Mark Veidemanis 2 years ago
parent cbd5ac9580
commit 2fb671fce4
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -7,6 +7,7 @@ services:
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
- app_static:${STATIC_ROOT}
#ports:
# - "8000:8000" # uwsgi socket
env_file:
@ -28,6 +29,7 @@ services:
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
- app_static:${STATIC_ROOT}
env_file:
- ../stack.env
@ -38,6 +40,7 @@ services:
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
- app_static:${STATIC_ROOT}
env_file:
- ../stack.env
@ -96,5 +99,5 @@ networks:
external:
name: xf
# volumes:
# redis_data: {}
volumes:
app_static: {}

Loading…
Cancel
Save