-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
49 lines (42 loc) · 1.66 KB
/
Copy path.env.example
File metadata and controls
49 lines (42 loc) · 1.66 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
## Keep false until the instance operator has read and accepted the deployment
## responsibilities documented in README.md. This is an acknowledgement flag,
## not a legal authorization. When false, new and replacement subscriptions
## are rejected, while existing work and unsubscribe requests remain enabled.
INSTANCE_TERMS_ACCEPTED=false
SERVER_HOST=0.0.0.0
SERVER_PORT=30010
# Docker Compose publishes the service on this host address.
SERVER_PUBLISH_HOST=127.0.0.1
SHUTDOWN_TIMEOUT_SECONDS=15
ALLOWED_ORIGINS=
# Fjall database directory. Only one running process may open this directory.
DB_PATH=./data/disaster-alert.fjall
BARK_URL_ALLOWLIST=https://api.day.app
BARK_SOUND=
BARK_VOLUME=10
BARK_GROUP=灾害预警
BARK_CALL=true
# Notification detail root reachable by Bark clients. Use HTTPS for deployments.
ALERT_DETAIL_BASE_URL=https://alert.example.com
# URL-safe base64 without padding of exactly 32 private-key bytes.
ALERT_SIGNING_KEY=replace-with-32-byte-base64url-private-key
INCIDENT_RETENTION_DAYS=180
DELIVERY_LEDGER_RETENTION_DAYS=180
# Retention for unreferenced event revisions; pending work is never pruned.
OPERATION_RETENTION_DAYS=7
# Retention for detail-link snapshots after notification delivery.
NOTIFICATION_CONTEXT_RETENTION_DAYS=365
RECONNECT_MIN_SECONDS=1
RECONNECT_MAX_SECONDS=30
PUSH_UPDATES=false
UPDATE_MIN_REPORT_GAP=1
IGNORE_TRAINING=true
IGNORE_CANCEL=false
STALE_ORIGIN_SECONDS=600
P_WAVE_KM_S=6.0
S_WAVE_KM_S=3.5
# Optional overrides. Defaults are available_parallelism * 16, clamped to 16..=256.
# MAX_CONCURRENT_NOTIFICATIONS=32
# HTTP_POOL_SIZE=32
REVERSE_GEOCODING_ENABLED=true
REVERSE_GEOCODING_URL=https://nominatim.openstreetmap.org/reverse