chore: use shared postgres for family wishlist

This commit is contained in:
Vaka.pro
2026-04-25 17:25:28 +03:00
parent a7d5260ce3
commit 2adb03ff33
5 changed files with 46 additions and 42 deletions

View File

@@ -1,12 +1,14 @@
# ==========================================
# Database
# ==========================================
POSTGRES_USER=wishlist
POSTGRES_PASSWORD=change_me
POSTGRES_DB=family_wishlist
# DATABASE_URL uses the docker-compose service name `postgres`.
# When running backend outside docker against docker-postgres use localhost:5432.
DATABASE_URL=postgresql://wishlist:change_me@postgres:5432/family_wishlist
DB_HOST=postgres_budget
DB_PORT=5432
DB_NAME=db_family
DB_USER=
DB_PASSWORD=
# Fill DATABASE_URL explicitly; .env files do not expand ${...} automatically for the app.
# For local host-based development, point it to localhost:5432 instead of postgres_budget.
DATABASE_URL=postgresql://<db_user>:<db_password>@postgres_budget:5432/db_family
# ==========================================
# Users (two fixed accounts)