From 9dfaa154ca1add6a34cf69e3a6903501e599720d Mon Sep 17 00:00:00 2001 From: elpatron68 Date: Sun, 12 Jul 2026 10:52:16 +0200 Subject: [PATCH] chore(env): add DATABASE_URL for local development setup. --- .env.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 9da0696..6bb0ea0 100755 --- a/.env.example +++ b/.env.example @@ -28,6 +28,9 @@ ORIGIN=http://localhost:5173 # Docker Compose (NPM → frontend nginx → backend): TRUST_PROXY=1 # TRUST_PROXY=1 +# Local dev (./scripts/start-dev.sh): Prisma + backend API +DATABASE_URL="postgresql://postgres:postgres@localhost:5432/daagbox?schema=public" + # Docker Compose database (required for production deploy) # Generate: openssl rand -hex 24 # Rotate on running server: ./scripts/rotate-postgres-password.sh (see docs/deployment/postgres-password.md)