33 lines
841 B
Bash
33 lines
841 B
Bash
# RustBox environment overrides. TOML is preferred; these variables override it.
|
|
HOST=127.0.0.1
|
|
PORT=3001
|
|
ENVIRONMENT=development
|
|
DATA_DIR=.dev/data
|
|
SESSION_TIMEOUT_HOURS=24
|
|
|
|
# Optional fixed mail hosts. Omit IMAP_HOST to use localhost; SMTP falls back to IMAP.
|
|
# IMAP_HOST=localhost
|
|
IMAP_PORT=993
|
|
# SMTP_HOST=localhost
|
|
SMTP_PORT=587
|
|
TLS_ENABLED=true
|
|
|
|
# ManageSieve
|
|
SIEVE_HOST=
|
|
SIEVE_PORT=4190
|
|
SIEVE_TLS_MODE=starttls
|
|
SIEVE_ALLOW_INSECURE_AUTH=false
|
|
SIEVE_TIMEOUT_SECS=10
|
|
|
|
TRUSTED_PROXIES=127.0.0.1,::1
|
|
RUST_LOG=info
|
|
# RUSTBOX_CONFIG=/etc/rustbox/rustbox.toml
|
|
|
|
# RustBox 0.2 storage/search nested overrides use double underscores.
|
|
# STORAGE__BACKEND=s3
|
|
# STORAGE__BUCKET=rustbox
|
|
# STORAGE__REGION=us-east-1
|
|
# STORAGE__ENDPOINT=https://s3.example.com
|
|
# SEARCH__BACKEND=opensearch
|
|
# For arrays such as search.urls, TOML config is recommended.
|