Configurations
Deploy, configure, and operate Boltbase.
Configuration Methods
Precedence order:
- Command-line flags (highest)
- Environment variables (
BOLTBASE_prefix) - Configuration file (lowest)
bash
# Port 9000 wins
boltbase start-all --port 9000
# Despite env var
export BOLTBASE_PORT=8080
# And config file
port: 7000Quick Start
Development
bash
# Zero config
boltbase start-allProduction
yaml
# ~/.config/boltbase/config.yaml
host: 0.0.0.0
port: 8080
auth:
basic:
enabled: true
username: admin
password: ${ADMIN_PASSWORD}
paths:
dags_dir: /opt/boltbase/workflows
log_dir: /var/log/boltbaseDocker
bash
docker run -d \
-e BOLTBASE_HOST=0.0.0.0 \
-e BOLTBASE_AUTH_BASIC_USERNAME=admin \
-e BOLTBASE_AUTH_BASIC_PASSWORD=secret \
-p 8080:8080 \
ghcr.io/dagu-org/boltbase:latestTopics
- Host, port, authentication
- TLS/HTTPS setup
- UI customization
- Shared DAG defaults
- Lifecycle handlers
- Email notifications
- Running as a service
- Monitoring and metrics
- Logging and alerting
- Configure remote instances
- Multi-node setup
- Remote access without port forwarding
- Tailscale integration
- Coordinator and worker setup
- Service registry configuration
- Worker labels and routing
- All options
- Environment variables
- Examples
Common Configurations
Production
yaml
host: 127.0.0.1
port: 8080
tls:
cert_file: /etc/ssl/cert.pem
key_file: /etc/ssl/key.pem
auth:
basic:
enabled: true
username: admin
password: ${ADMIN_PASSWORD}
permissions:
write_dags: false # Read-only
run_dags: true
ui:
navbar_color: "#FF0000"
navbar_title: "Production"Development
yaml
host: 127.0.0.1
port: 8080
debug: true
auth:
basic:
enabled: falseEnvironment Variables
bash
# Server
export BOLTBASE_HOST=0.0.0.0
export BOLTBASE_PORT=8080
# Paths
export BOLTBASE_DAGS_DIR=/opt/workflows
export BOLTBASE_LOG_DIR=/var/log/boltbase
# Auth
export BOLTBASE_AUTH_BASIC_USERNAME=admin
export BOLTBASE_AUTH_BASIC_PASSWORD=secret
boltbase start-allSee Also
- Set up authentication for production
- Configure base defaults for shared DAG settings
- Configure monitoring for visibility
- Set up distributed execution for scaling
- Review all options for fine-tuning
