Files
bichon/env/bichon.env
T

45 lines
1.2 KiB
Bash

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