Make app static root persistent between containers

This commit is contained in:
Mark Veidemanis 2022-10-15 22:47:42 +01:00
parent cbd5ac9580
commit 2fb671fce4
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 5 additions and 2 deletions

View File

@ -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: {}