-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (41 loc) · 2.03 KB
/
.env.example
File metadata and controls
47 lines (41 loc) · 2.03 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
# Solace Configuration
# Copy this to .env and adjust values
# ──────────────────────────────────────
# Database
# ──────────────────────────────────────
DATABASE_URL=postgresql+asyncpg://solace:solace@localhost:5432/solace
DATABASE_POOL_SIZE=10
DATABASE_MAX_OVERFLOW=20
# ──────────────────────────────────────
# Redis
# ──────────────────────────────────────
REDIS_URL=redis://localhost:6379/0
# ──────────────────────────────────────
# Application
# ──────────────────────────────────────
SECRET_KEY=change-me-to-a-random-secret-key
API_KEY=
APP_ENV=development
LOG_LEVEL=INFO
API_PREFIX=/api/v1
# ──────────────────────────────────────
# Alert Processing
# ──────────────────────────────────────
DEDUP_WINDOW_SECONDS=300
CORRELATION_WINDOW_SECONDS=600
FLAP_THRESHOLD_HIGH=50
FLAP_THRESHOLD_LOW=25
# ──────────────────────────────────────
# Notifications (optional)
# ──────────────────────────────────────
# SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASSWORD=
# ──────────────────────────────────────
# Server
# ──────────────────────────────────────
HOST=0.0.0.0
PORT=8000
WORKERS=4