-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.example
More file actions
81 lines (69 loc) · 4.34 KB
/
Copy pathenv.example
File metadata and controls
81 lines (69 loc) · 4.34 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# ACN Configuration Example
# Copy this file to .env and update values as needed
# For production, see .env.production.example
# ─────────────────────────────────────────────
# Service
# ─────────────────────────────────────────────
SERVICE_NAME=ACN
SERVICE_VERSION=0.1.0
# IMPORTANT: when DEV_MODE=true the service refuses to bind to non-loopback
# hosts (any value other than localhost / 127.0.0.1 / ::1). For local dev
# stick to 127.0.0.1; for any binding on 0.0.0.0 set DEV_MODE=false and
# configure Auth0 + a non-'*' CORS origin list.
HOST=127.0.0.1
PORT=8000
# Set to false in production!
DEV_MODE=true
ENABLE_DOCS=true
# ─────────────────────────────────────────────
# Redis
# ─────────────────────────────────────────────
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
# REDIS_PASSWORD=your_redis_password
# ─────────────────────────────────────────────
# Backend & Gateway
# ─────────────────────────────────────────────
BACKEND_URL=http://localhost:8000
GATEWAY_BASE_URL=http://localhost:9000
# ─────────────────────────────────────────────
# Service-to-service authentication
# REQUIRED. ACN refuses to start without this. Generate with:
# python -c "import secrets; print(secrets.token_urlsafe(32))"
# Must be at least 32 characters. The same value MUST be configured on
# Backend's INTERNAL_API_TOKEN.
# ─────────────────────────────────────────────
INTERNAL_API_TOKEN=replace-with-token-from-secrets-token_urlsafe-32-chars-min
# ─────────────────────────────────────────────
# Auth0 (required in production when DEV_MODE=false)
# ─────────────────────────────────────────────
# AUTH0_DOMAIN=your-tenant.auth0.com
# AUTH0_AUDIENCE=https://api.agentplanet.com
# ─────────────────────────────────────────────
# Webhooks
# ─────────────────────────────────────────────
# WEBHOOK_URL=https://your-backend.com/api/acn/webhook
# WEBHOOK_SECRET=your_hmac_secret
WEBHOOK_TIMEOUT=30
WEBHOOK_RETRY_COUNT=3
WEBHOOK_RETRY_DELAY=5
# BILLING_WEBHOOK_URL=https://your-backend.com/api/billing/webhook
# ─────────────────────────────────────────────
# CORS (restrict in production!)
# ─────────────────────────────────────────────
CORS_ORIGINS=["*"]
# ─────────────────────────────────────────────
# Observability
# ─────────────────────────────────────────────
LOG_LEVEL=INFO
OTEL_ENABLED=false
# ─────────────────────────────────────────────
# Labs features (experimental)
# ─────────────────────────────────────────────
LABS_ONBOARDING_ENABLED=true
# ─────────────────────────────────────────────
# WebSocket limits
# ─────────────────────────────────────────────
# MAX_WEBSOCKET_CONNECTIONS=10000