Files
soleprint/soleprint/station/cabinets/postgres/cabinet.json
2026-08-10 05:36:32 -03:00

21 lines
673 B
JSON

{
"name": "postgres",
"title": "PostgreSQL",
"description": "Relational database. Backs rooms that need their data to outlive a restart.",
"image": "postgres:16-alpine",
"service": "postgres",
"rig_addon": "postgres",
"ports": [5432],
"volumes": ["pgdata"],
"env": {
"POSTGRES_DB": "soleprint",
"POSTGRES_USER": "soleprint",
"POSTGRES_PASSWORD": "change-me",
"POSTGRES_PORT": "5432"
},
"notes": [
"POSTGRES_PASSWORD is a placeholder. Set the real one in the room's .env, which is gitignored.",
"The connection string other services want is postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
]
}