Files
nuzlocke-tracker/.beans/nuzlocke-tracker-jzw4--switch-prod-compose-to-bind-mounts-for-persistent.md
Julian Tabel 3f39b5f0cb Use bind mount for prod database storage instead of named volume
Store PostgreSQL data at ./data/postgres relative to the compose file
so persistent data lives on the Unraid disk at
/mnt/user/appdata/nuzlocke-tracker/data/postgres.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:17:14 +01:00

12 lines
445 B
Markdown

---
# nuzlocke-tracker-jzw4
title: Switch prod compose to bind mounts for persistent data
status: completed
type: task
priority: normal
created_at: 2026-02-10T08:15:41Z
updated_at: 2026-02-10T08:16:44Z
parent: nuzlocke-tracker-ahza
---
Replace named Docker volume with bind mount to ./data/postgres subfolder. The docker-compose.prod.yml will live at /mnt/user/appdata/nuzlocke-tracker/ on Unraid, so relative paths resolve to subfolders there.