use full storage path not path to volumes

This commit is contained in:
Florian Zirker 2024-10-24 14:07:46 +00:00
parent a69a5991b3
commit c6bf4e3fa0
8 changed files with 22 additions and 22 deletions

View file

@ -3,7 +3,7 @@ services:
syncserver:
image: mozilla/syncserver:latest
volumes:
- ${VOLUMES_PATH}/firefoxsync/syncserver:/data
- ${STORAGE_PATH}/syncserver:/data
user: ${UID}:${GID}
networks:
- web
@ -38,7 +38,7 @@ services:
networks:
- firefoxsync
volumes:
- ${VOLUMES_PATH}/firefoxsync/db:/var/lib/postgresql/data
- ${STORAGE_PATH}/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s