-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (55 loc) · 2.19 KB
/
.env.example
File metadata and controls
68 lines (55 loc) · 2.19 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
# ---- General ---------------------------------------------------------------
ENVIRONMENT=development
LOG_LEVEL=info
APP_HOST=localhost
# ---- Frontend --------------------------------------------------------------
FRONTEND_PORT=3000
FRONTEND_PUBLIC_URL=http://localhost:3000
FRONTEND_API_BASE_URL=http://localhost:8000
FRONTEND_AGENT_API_BASE_URL=http://localhost:9000
# ---- Backend API -----------------------------------------------------------
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8000
BACKEND_PUBLIC_URL=http://localhost:8000
APP_NAME=Temis RiskControl API
APP_VERSION=0.1.0
DEBUG=false
# ---- Agent API -------------------------------------------------------------
AGENT_HOST=0.0.0.0
AGENT_PORT=9000
AGENT_PUBLIC_URL=http://localhost:9000
AGENT_BACKEND_API_URL=http://localhost:8000
# ---- AI / LLM --------------------------------------------------------------
GEMINI_API_KEY=your-gemini-api-key
# ---- Database --------------------------------------------------------------
DATABASE_URL=postgresql://user:password@localhost:5432/temis_db
DATABASE_USERNAME=user
DATABASE_PASSWORD=password
DATABASE_NAME=temis_db
# ---- CORS ------------------------------------------------------------------
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# ---- Rate limiting ---------------------------------------------------------
RATE_LIMIT_ENABLED=true
RATE_LIMIT_STORAGE=memory
# Backend API limits
BACKEND_RATE_LIMIT_WINDOW_SECONDS=60
BACKEND_RATE_LIMIT_MAX_REQUESTS=120
# Agent API limits (stricter due to cost)
AGENT_RATE_LIMIT_WINDOW_SECONDS=60
AGENT_RATE_LIMIT_MAX_REQUESTS=30
# ---- SMTP ------------------------------------------------------------------
SMTP_HOST=smtp.mailgun.org
SMTP_PORT=587
SMTP_USE_TLS=true
SMTP_USERNAME=postmaster@your-domain.mailgun.org
SMTP_PASSWORD=your-smtp-password
SMTP_FROM_ADDRESS=noreply@temis.io
# ---- Postgres (docker-compose) ---------------------------------------------
POSTGRES_USER=temis
POSTGRES_PASSWORD=temis
POSTGRES_DB=temis_db
# ---- Grafana ---------------------------------------------------------------
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=admin
# ---- AlertManager ----------------------------------------------------------
ALERT_EMAIL_TO=ops@temis.io