Make app static root persistent between containers
This commit is contained in:
parent
cbd5ac9580
commit
2fb671fce4
|
@ -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…
Reference in New Issue