Remove DATABASE_URL and PostgreSQL service from compose.yaml for simplification
This commit is contained in:
@@ -11,7 +11,6 @@ services:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
- TZ=America/Toronto # Your timezone
|
||||
- DATABASE_URL=postgresql+asyncpg://${PG_USER:-bambuddy}:${PG_PASS:?database password required}@postgres:5432/bambuddy
|
||||
- TRUSTED_FRAME_ORIGINS=http://homeassistant.local:8123
|
||||
- BAMBUDDY_EXTERNAL_ROOTS=/external/nas
|
||||
- PORT=8870
|
||||
@@ -20,19 +19,6 @@ services:
|
||||
# but the headroom means a slow teardown (several virtual printers on a Pi)
|
||||
# can still checkpoint the database instead of being killed mid-write.
|
||||
stop_grace_period: 30s
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: bambuddy-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: ${PG_USER:-bambuddy}
|
||||
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
|
||||
POSTGRES_DB: bambuddy
|
||||
volumes:
|
||||
- bambuddy_pgdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
bambuddy_data:
|
||||
bambuddy_logs:
|
||||
bambuddy_pgdata:
|
||||
Reference in New Issue
Block a user