Files
homelab-configs/apps/postgres/docker-compose.yml
T
mo 04162745e9 Reorganize repo: one folder per application under apps/.
Move docker/ and configs/ into apps/<name>/ with config/ subfolders.
Proxmox split into hosts/pve and hosts/dell-proxmox. Nginx under
infrastructure/. Update sync script, RESTORE.md, and per-app READMEs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-17 13:23:38 +02:00

18 lines
582 B
YAML

# PostgreSQL — centrale homelab-database (poort 5433 op host).
# NAS-pad: /volume1/docker/postgres/
# Start: cp .env.example .env && docker compose up -d
services:
postgres-homelab:
image: postgres:16-alpine
container_name: postgres-homelab
restart: unless-stopped
ports:
- "${PG_HOST_PORT:-5433}:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER:-mo}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-WaQTUw2t}
POSTGRES_DB: ${POSTGRES_DB:-homelab}
volumes:
- ${PG_DATA_DIR:-/volume1/docker/postgres/data}:/var/lib/postgresql/data