Files
nuzlocke-tracker/.beans/nuzlocke-tracker-vpn5--create-production-docker-compose-file.md

18 lines
669 B
Markdown
Raw Normal View History

---
# nuzlocke-tracker-vpn5
title: Create production docker-compose file
status: todo
type: task
created_at: 2026-02-09T15:30:41Z
updated_at: 2026-02-09T15:30:41Z
parent: nuzlocke-tracker-ahza
---
Create `docker-compose.prod.yml` for the Unraid production deployment.
- Reference pre-built images from the local Docker registry (not source volume mounts)
- Set production environment variables (DEBUG=false, proper DATABASE_URL, etc.)
- Proper restart policies (`unless-stopped` or `always`)
- No source code volume mounts — only data volumes (e.g., postgres_data)
- PostgreSQL with persistent named volume
- Appropriate port mappings for the production environment