-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (50 loc) · 2.22 KB
/
Copy path.env.example
File metadata and controls
65 lines (50 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# =============================================================================
# WMO Zorgagent — Omgevingsvariabelen (lokale ontwikkeling)
# Kopieer dit bestand naar .env en pas de waarden aan voor productie.
# =============================================================================
# --- Backend ---
# Volledige connectie-URL voor de Postgres-database
DATABASE_URL=postgresql+psycopg://wmo:wmo_local_dev@postgres:5432/wmo
# Geheim voor HMAC-SHA256 pseudonimisering van burger-ID's
# VERANDER DIT in productie naar een lange, willekeurige string!
PSEUDONYM_SECRET=local_dev_secret_change_me
# Drempelwaarde voor AI-betrouwbaarheid (0.0–1.0)
# Aanvragen met confidence < drempel gaan naar menselijke review
CONFIDENCE_THRESHOLD=0.7
# Bewaartermijn voor audit-records in dagen (AVG-doelbinding)
RETENTION_DAYS=90
# Pad naar de fairness-blocklist YAML binnen de container
FAIRNESS_BLOCKLIST_PATH=/app/app/core/fairness_blocklist.yaml
# Logniveau voor de backend (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# --- n8n ---
# Basis-authenticatie voor de n8n webinterface
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=admin_local_dev
# Encryptie-sleutel voor n8n-credentials (minimaal 32 tekens)
# VERANDER DIT in productie!
N8N_ENCRYPTION_KEY=local_dev_encryption_key_32_chars
# n8n host en poort
N8N_HOST=localhost
N8N_PORT=5678
# Publieke webhook-URL (voor lokaal gebruik gelijk aan N8N_HOST:N8N_PORT)
# Bij externe toegang: vervang met Cloudflare Tunnel / ngrok URL
WEBHOOK_URL=http://localhost:5678/
# Tijdzone voor n8n-uitvoeringen
GENERIC_TIMEZONE=Europe/Amsterdam
# --- n8n database (gebruikt dezelfde Postgres als de backend) ---
DB_TYPE=postgresdb
DB_POSTGRESDB_HOST=postgres
DB_POSTGRESDB_PORT=5432
DB_POSTGRESDB_DATABASE=wmo
DB_POSTGRESDB_USER=wmo
DB_POSTGRESDB_PASSWORD=wmo_local_dev
# --- Frontend ---
# Basis-URL van de FastAPI-backend (bereikbaar vanuit de browser)
VITE_API_BASE_URL=http://localhost:8000
# n8n webhook-URL voor directe aanroep vanuit de frontend
VITE_N8N_WEBHOOK_URL=http://localhost:5678/webhook/wmo-intake
# --- Optioneel: scale-profiel (Redis + n8n-worker) ---
# Verander N8N_ENCRYPTION_KEY zodat worker en hoofd-n8n dezelfde sleutel gebruiken
# Start met: docker compose --profile scale up