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:
forgejo:
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
volumes:
- ${VOLUMES_PATH}/git/forgejo_data:/data
- ${STORAGE_PATH}/forgejo_data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
@ -51,7 +51,7 @@ services:
networks:
- git
volumes:
- ${VOLUMES_PATH}/git/forgejo_db:/var/lib/postgresql/data
- ${STORAGE_PATH}/forgejo_db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s