Make app static root persistent between containers
This commit is contained in:
parent
cbd5ac9580
commit
2fb671fce4
|
@ -7,6 +7,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
||||||
|
- app_static:${STATIC_ROOT}
|
||||||
#ports:
|
#ports:
|
||||||
# - "8000:8000" # uwsgi socket
|
# - "8000:8000" # uwsgi socket
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -28,6 +29,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
||||||
|
- app_static:${STATIC_ROOT}
|
||||||
env_file:
|
env_file:
|
||||||
- ../stack.env
|
- ../stack.env
|
||||||
|
|
||||||
|
@ -38,6 +40,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
||||||
|
- app_static:${STATIC_ROOT}
|
||||||
env_file:
|
env_file:
|
||||||
- ../stack.env
|
- ../stack.env
|
||||||
|
|
||||||
|
@ -96,5 +99,5 @@ networks:
|
||||||
external:
|
external:
|
||||||
name: xf
|
name: xf
|
||||||
|
|
||||||
# volumes:
|
volumes:
|
||||||
# redis_data: {}
|
app_static: {}
|
||||||
|
|
Loading…
Reference in New Issue