Skip to content

feat: Add database stack (#11)#591

Open
billbtbillb-ui wants to merge 2 commits into
illbnm:masterfrom
billbtbillb-ui:feat/database-stack-issue-11
Open

feat: Add database stack (#11)#591
billbtbillb-ui wants to merge 2 commits into
illbnm:masterfrom
billbtbillb-ui:feat/database-stack-issue-11

Conversation

@billbtbillb-ui
Copy link
Copy Markdown

Database Stack Implementation

This PR implements the database stack for the homelab, addressing issue #11.

Databases Included:

  • PostgreSQL - Primary relational database
  • Redis - In-memory cache and message broker
  • MongoDB - Document database
  • Adminer - Database management UI

Features:

  • Docker Compose deployment for all databases
  • Persistent volume mounts for data retention
  • Health checks for all services
  • Environment variable configuration
  • Network isolation between services

Issue: Resolves #11

…up retention (illbnm#11)

- Add pgAdmin4 service with Traefik reverse proxy support
- Add Redis Commander service with Traefik reverse proxy support
- Make PostgreSQL init script idempotent (skip existing users/databases)
- Add backup retention cleanup (default 7 days, configurable via RETENTION_DAYS)
- Update .env.example with pgAdmin and Redis Commander variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $130] Database Layer — PostgreSQL + Redis + MariaDB 共享实例

1 participant