Production-ready PostgreSQL + Redis with automated daily backups, 30-day retention, and optional S3 off-site sync.
What's Included
- docker-compose.yml — 3 services: PostgreSQL (tuned for 2-4GB RAM), Redis (AOF+RDB persistence), Backup (cron-based pg_dump)
- PostgreSQL config — Production tuning: shared_buffers, WAL compression, autovacuum, logging
- Backup & restore scripts — Automated daily dumps with compression, S3 sync, and one-command restore
- .env.example — All environment variables documented
- README.md — Architecture diagram, quick start, production checklist
Requirements
- Docker Engine 24+ with Docker Compose v2
- 4GB RAM minimum, 8GB recommended
Download
Download the zip, extract it, run docker compose up -d.