-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 974 Bytes
/
Copy path.env.example
File metadata and controls
36 lines (29 loc) · 974 Bytes
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
# SignalBox local development environment example.
# Copy this file to .env before running docker compose locally.
# Do not use these placeholder values in production.
# HTTP server
HTTP_ADDR=:8080
# PostgreSQL
POSTGRES_DB=signalbox
POSTGRES_USER=signalbox
POSTGRES_PASSWORD=change-me-local-only
DATABASE_URL=postgres://signalbox:change-me-local-only@localhost:5432/signalbox?sslmode=disable
# Admin API
# Use a long random value even for shared development environments.
ADMIN_API_KEY=replace-with-long-random-admin-key
# Database migrations
AUTO_MIGRATE=true
# Optional Telegram delivery
# Leave empty if you only want event storage or HTTP forwarding.
TELEGRAM_BOT_TOKEN=
TELEGRAM_DEFAULT_CHAT_ID=
# Webhook ingestion
MAX_BODY_BYTES=1048576
WEBHOOK_RATE_LIMIT_REQUESTS=120
WEBHOOK_RATE_LIMIT_WINDOW=1m
# Delivery worker
DELIVERY_WORKER_ENABLED=true
DELIVERY_WORKER_INTERVAL=5s
DELIVERY_WORKER_BATCH_SIZE=10
DELIVERY_WORKER_LOCK_DURATION=1m
DELIVERY_MAX_ATTEMPTS=8