Move storage locations to {VOLUME_PATH}/{COMPOSE_STACK_NAME}/{SERVICE_NAME} schema
This commit is contained in:
parent
922b97710f
commit
23903d003d
5 changed files with 19 additions and 19 deletions
|
@ -3,7 +3,7 @@ services:
|
|||
syncserver:
|
||||
image: mozilla/syncserver:latest
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/firefoxsync_syncserver:/data
|
||||
- ${VOLUMES_PATH}/firefoxsync/syncserver:/data
|
||||
user: ${UID}:${GID}
|
||||
networks:
|
||||
- web
|
||||
|
@ -23,7 +23,7 @@ services:
|
|||
- SYNCSERVER_SQLURI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
|
||||
- SYNCSERVER_BATCH_UPLOAD_ENABLED=true
|
||||
- SYNCSERVER_FORCE_WSGI_ENVIRON=true
|
||||
- SYNCSERVER_DEBUG_ENABLED=true
|
||||
- SYNCSERVER_DEBUG_ENABLED=false
|
||||
- SYNCSERVER_ALLOW_NEW_USER=true
|
||||
- PORT=5000
|
||||
|
||||
|
@ -38,7 +38,7 @@ services:
|
|||
networks:
|
||||
- firefoxsync
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/firefoxsync_db:/var/lib/postgresql/data
|
||||
- ${VOLUMES_PATH}/firefoxsync/db:/var/lib/postgresql/data
|
||||
user: ${UID}:${GID}
|
||||
labels:
|
||||
- "docker.group=firefoxsync"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue