db: DATABASE_URL-Schema auf postgresql:// (wie feuerwehr_dashboard)
Dashboard nutzt das Format postgresql://USER:PASS@HOST:PORT/DB. Angeglichen in docker-compose.yml, .env.example (+ Host-Hinweis lokal=localhost / Container=postgres), vitest.setup.ts und env.test.ts. Funktional identisch (pg/Drizzle akzeptieren beide), aber konsistent mit dem bestehenden Setup. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
NODE_ENV=development
|
||||
|
||||
# Datenbank (Postgres)
|
||||
DATABASE_URL=postgres://floriannetz:floriannetz@localhost:5432/floriannetz
|
||||
# Datenbank (Postgres). Format: postgresql://USER:PASSWORT@HOST:PORT/DB
|
||||
# Lokal (Host -> Docker-Postgres via docker-compose.dev.yml): HOST=localhost.
|
||||
# Im Container setzt docker-compose.yml HOST automatisch auf den Service "postgres".
|
||||
DATABASE_URL=postgresql://floriannetz:floriannetz@localhost:5432/floriannetz
|
||||
|
||||
# Auth.js / NextAuth
|
||||
# AUTH_SECRET muss >= 32 Zeichen sein (z. B. `openssl rand -base64 32`)
|
||||
|
||||
Reference in New Issue
Block a user