caddydb/.env.example
2025-03-24 17:51:57 +01:00

13 lines
No EOL
505 B
Text

# API key for authentication between server and agents
API_KEY=your_secure_random_key_here
# Server mode configurations
DEBUG_MODE=false
CADDYFILE_PATH=/path/to/local/Caddyfile # Only needed in LOCAL_MODE
# Agent mode configurations
CADDYFILE_PATH=/opt/docker/caddy/conf/Caddyfile
DASHBOARD_URL=https://dashboard.example.com/api/update
# or DASHBOARD_URL=http://caddydb-server:5000/api/update
# SERVER_NAME=my-caddy-server # Optional - defaults to hostname
CHECK_INTERVAL=60 # Seconds between checks