Introduces centralized configuration management for home lab:
- sync-configs.sh script for pull/push/diff/deploy operations
- hosts.yml inventory tracking 9 hosts (Proxmox, VMs, LXCs, cloud)
- Docker Compose files from all active hosts (sanitized)
- Proxmox VM and LXC configurations for backup reference
- .env.example files for services requiring secrets
All hardcoded secrets replaced with ${VAR} references.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
69 lines
1.4 KiB
YAML
69 lines
1.4 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
discord-app:
|
|
image: manticorum67/paper-dynasty-discordapp:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./storage:/usr/src/app/storage
|
|
- ./logs:/usr/src/app/logs
|
|
environment:
|
|
- PYTHONBUFFERED=0
|
|
- GUILD_ID=613880856032968834
|
|
- BOT_TOKEN=${BOT_TOKEN}
|
|
- LOG_LEVEL=INFO
|
|
- API_TOKEN=${API_TOKEN}
|
|
- SCOREBOARD_CHANNEL=1000623557191155804
|
|
- TZ=America/Chicago
|
|
- PYTHONHASHSEED=1749583062
|
|
- DATABASE=Prod
|
|
- DB_USERNAME=postgres
|
|
- DB_PASSWORD=${DB_PASSWORD}
|
|
- DB_URL=db
|
|
- DB_NAME=postgres
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "python3 -c 'import sys; sys.exit(0)' || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|
|
|
|
db:
|
|
image: postgres:18
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
volumes:
|
|
- pd_postgres:/var/lib/postgresql
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 1s
|
|
timeout: 5s
|
|
retries: 5
|
|
# start_period: 30s
|
|
networks:
|
|
- backend
|
|
|
|
adminer:
|
|
image: adminer
|
|
restart: always
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
- backend
|
|
|
|
networks:
|
|
backend:
|
|
driver: bridge
|
|
|
|
paper_dynasty:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
pd_postgres:
|