fix: use absolute volume path for linkwarden postgres data

This commit is contained in:
2026-05-07 13:17:31 +00:00
parent ab84a27e06
commit 575c1fee9c
+1 -1
View File
@@ -7,7 +7,7 @@ services:
environment: environment:
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
volumes: volumes:
- ./pgdata:/var/lib/postgresql/data - /srv/docker/linkwarden/pgdata:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s interval: 5s