-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
48 lines (41 loc) · 2.03 KB
/
.env.example
File metadata and controls
48 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
48
DOMAIN_BASE=example.com
POSTGRES_PASSWORD=change-me
MINIO_ROOT_USER=relay
MINIO_ROOT_PASSWORD=change-this-too
JWT_SECRET=replace-me
BOOTSTRAP_ADMIN_PASSWORD=super-secret-pass
RELAY_PUBLIC_URL=wss://relay.${DOMAIN_BASE}
# Server identity (for multi-server plugin support)
SERVER_NAME=My Relay Server
# SERVER_ID=my-server-id # Optional, defaults to relay_key_id
# Logging configuration
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR
LOG_FORMAT=json # json or text
# PostgreSQL backup configuration
BACKUP_RETENTION=7 # Days to keep local backups
BACKUP_HOUR=2 # Hour to run daily backup (0-23, UTC)
BACKUP_RUN_ON_STARTUP=true # Run backup on container startup
# BACKUP_S3_ENABLED=false # Enable S3/MinIO upload
# BACKUP_S3_BUCKET=relay-backups # S3 bucket name
# Grafana configuration
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=change-me-please
# Email configuration (for notifications)
EMAIL_ENABLED=false # Enable email sending
SMTP_HOST= # SMTP server hostname
SMTP_PORT=587 # SMTP port (587 for TLS, 465 for SSL)
SMTP_USER= # SMTP username
SMTP_PASSWORD= # SMTP password
SMTP_USE_TLS=true # Use STARTTLS
[email protected] # From address
EMAIL_REPLY_TO= # Reply-to address (optional)
# Background worker configuration
WEBHOOK_WORKER_INTERVAL=30 # Webhook worker poll interval (seconds)
WEBHOOK_WORKER_BATCH_SIZE=50 # Max webhooks to process per cycle
EMAIL_WORKER_INTERVAL=60 # Email worker poll interval (seconds)
EMAIL_WORKER_BATCH_SIZE=100 # Max emails to process per cycle
# Web Publishing configuration (v1.7)
WEB_PUBLISH_DOMAIN= # Web publishing domain (e.g., docs.example.com)
# Leave empty to disable web publishing