IMPROVED - unify dev pattern: DB-only Docker + host app, safe start, add test:watch
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-08-07 15:05:34 +02:00
parent 0a5f77d8de
commit cdf0380f79
4 changed files with 98 additions and 53 deletions
+15 -4
View File
@@ -1,8 +1,19 @@
DATABASE_URL="postgresql://USER:PASSWORD@HOST:5432/moh_sass?schema=public"
NEXT_PUBLIC_APP_URL="https://mohfarawati.de"
NEXT_PUBLIC_SITE_URL="https://mohfarawati.de"
NEXT_PUBLIC_ADMIN_URL="https://root.mohfarawati.de"
# Local dev: app runs on host (npm run dev), only Postgres runs in Docker.
# Production: docker-compose.yml runs the full stack (deploy via `make deploy`).
# --- Database ---
# Local: localhost:5432 (exposed from Docker). Server: db:5432 (Compose internal).
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/moh_sass"
# --- URLs ---
NEXT_PUBLIC_APP_URL="http://localhost:3014"
NEXT_PUBLIC_SITE_URL="http://localhost:3014"
NEXT_PUBLIC_ADMIN_URL="http://rootmohfarawati.localhost:3014"
ADMIN_HOST="rootmohfarawati.localhost"
NEXT_TELEMETRY_DISABLED="1"
# --- Admin auth ---
ADMIN_PASSWORD="change-me"
ADMIN_AUTH_SECRET="replace-with-a-long-random-secret"
ADMIN_BASIC_AUTH_USER="change-me"