Files
bichon/env/rustmailer.env
T

45 lines
1.2 KiB
Bash
Raw Normal View History

2025-11-19 02:14:37 +08:00
# Log level: trace, debug, info, warn, error
2025-11-19 14:14:35 +13:00
BICHON_LOG_LEVEL=info
2025-11-19 02:14:37 +08:00
# HTTP server port
2025-11-19 14:14:35 +13:00
BICHON_HTTP_PORT=15630
2025-11-19 02:14:37 +08:00
2025-11-19 14:14:35 +13:00
# Public URL for this BICHON instance
BICHON_PUBLIC_URL=http://localhost:15630
2025-11-19 02:14:37 +08:00
# Enable ANSI-colored logs (for terminal output)
2025-11-19 14:14:35 +13:00
BICHON_ANSI_LOGS=false
2025-11-19 02:14:37 +08:00
# Enable JSON-formatted logs (for machine parsing)
2025-11-19 14:14:35 +13:00
BICHON_JSON_LOGS=false
2025-11-19 02:14:37 +08:00
# Persist logs to files
2025-11-19 14:14:35 +13:00
BICHON_LOG_TO_FILE=false
2025-11-19 02:14:37 +08:00
# Max number of server log files to retain
2025-11-19 14:14:35 +13:00
BICHON_MAX_SERVER_LOG_FILES=5
2025-11-19 02:14:37 +08:00
# Encryption password for stored secrets (change this in production!)
2025-11-19 14:14:35 +13:00
BICHON_ENCRYPT_PASSWORD=change-this-default-password-now
2025-11-19 02:14:37 +08:00
# Root directory for persistent storage (adjust to your environment)
2025-11-19 14:14:35 +13:00
BICHON_ROOT_DIR=/data/bichon-data
2025-11-19 02:14:37 +08:00
# Enable API access token validation
2025-11-19 14:14:35 +13:00
BICHON_ENABLE_ACCESS_TOKEN=false
2025-11-19 02:14:37 +08:00
# IP address to bind the HTTP and gRPC servers to (default: ::)
2025-11-19 14:14:35 +13:00
BICHON_BIND_IP=
2025-11-19 02:14:37 +08:00
# Comma-separated list of allowed CORS origins (e.g. https://app.example.com)
2025-11-19 14:14:35 +13:00
BICHON_CORS_ORIGINS=
2025-11-19 02:14:37 +08:00
# Cache duration (in seconds) for CORS preflight responses
2025-11-19 14:14:35 +13:00
BICHON_CORS_MAX_AGE=86400
2025-11-19 02:14:37 +08:00
# Enable HTTPS for REST API server
2025-11-19 14:14:35 +13:00
BICHON_ENABLE_REST_HTTPS=false
2025-11-19 02:14:37 +08:00
# Enable HTTP response compression (gzip or brotli)
2025-11-19 14:14:35 +13:00
BICHON_HTTP_COMPRESSION_ENABLED=true