Add full NAS service catalog for disaster recovery.
Compose files and configs for postgres, adguard, duckdns, homarr, neo4j, portainer, remotely, and monitoring; RESTORE.md and sync-from-nas script. Sanitize pgAdmin secrets; document homelab-command as separate repo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
POSTGRES_USER=mo
|
||||
POSTGRES_PASSWORD=changeme
|
||||
POSTGRES_DB=homelab
|
||||
PG_HOST_PORT=5433
|
||||
PG_DATA_DIR=/volume1/docker/postgres/data
|
||||
@@ -0,0 +1,17 @@
|
||||
# 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:?Zet POSTGRES_PASSWORD in .env}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-homelab}
|
||||
volumes:
|
||||
- ${PG_DATA_DIR:-/volume1/docker/postgres/data}:/var/lib/postgresql/data
|
||||
Reference in New Issue
Block a user