forked from fahrPool/fahrPool
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# Mit `node scripts/generate-secrets.js` erzeugen und hier einsetzen:
|
|
POSTGRES_PASSWORD=
|
|
JWT_SECRET=
|
|
ANON_KEY=
|
|
SERVICE_ROLE_KEY=
|
|
# ANON_KEY hier oben zusaetzlich auch fuer NEXT_PUBLIC_SUPABASE_ANON_KEY unten eintragen.
|
|
#
|
|
# Danach WICHTIG: `node scripts/render-templates.js` ausfuehren, bevor
|
|
# `docker compose up -d` laeuft -- das rendert volumes/db/init/99-roles.sql
|
|
# und volumes/api/kong.yml aus ihren .template-Vorlagen mit den echten
|
|
# Werten aus dieser .env. Ohne diesen Schritt crashloopen auth/rest/storage
|
|
# bzw. Kong liefert 401 auf jede Route.
|
|
|
|
POSTGRES_DB=postgres
|
|
POSTGRES_PORT=5432
|
|
JWT_EXPIRY=3600
|
|
|
|
SITE_URL=http://localhost:3001
|
|
ADDITIONAL_REDIRECT_URLS=
|
|
DISABLE_SIGNUP=true
|
|
ENABLE_EMAIL_AUTOCONFIRM=true
|
|
|
|
KONG_HTTP_PORT=8000
|
|
STUDIO_PORT=8082
|
|
|
|
# Muss von aussen erreichbar sein (Browser!), nicht der interne Docker-Hostname:
|
|
NEXT_PUBLIC_SUPABASE_URL=http://localhost:8000
|
|
NEXT_PUBLIC_SUPABASE_ANON_KEY=
|
|
|
|
# --- WhatsApp-Benachrichtigung (Meta WhatsApp Cloud API) ---
|
|
# Fehlt eine der fuenf Pflichtvariablen, ist das Feature "aus": die
|
|
# Dispatch-Route antwortet dann 200 { uebersprungen: true } und sendet nichts.
|
|
WHATSAPP_ACCESS_TOKEN=
|
|
WHATSAPP_PHONE_NUMBER_ID=
|
|
WHATSAPP_RECIPIENT=
|
|
WHATSAPP_TEMPLATE_NAME=neuer_auftrag
|
|
WHATSAPP_TEMPLATE_LANG=de
|
|
WHATSAPP_GRAPH_VERSION=
|
|
# MUSS mit dem DB-Setting app.notification_dispatch_secret uebereinstimmen
|
|
# (siehe .claude/skills/rebuild-master-stack/SKILL.md).
|
|
NOTIFICATION_DISPATCH_SECRET=
|