IMPROVED - unify dev pattern: DB-only Docker + host app, safe start, add test:watch
CI / quality (push) Waiting to run
CI / quality (push) Waiting to run
This commit is contained in:
+15
-4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user