Title here
Summary here
roji can be configured through a config file, environment variables, or CLI flags.
Location: ~/.config/roji/config.yaml
network: roji # Docker network(s) to watch (comma-separated)
domain: dev.localhost # Base domain
http_port: 80 # HTTP port (redirect to HTTPS)
https_port: 443 # HTTPS port
certs_dir: ~/.local/share/roji/certs # Certificate directory
data_dir: ~/.local/share/roji # Data directory
dashboard: roji.dev.localhost # Dashboard hostname
log_level: info # Log level (debug, info, warn, error)
auto_cert: true # Auto-generate certificates
static_sites: # Static file hosting (see Static Sites guide)
- host: docs
root: ~/projects/docs/buildroji config show # Display current settings
roji config path # Show config file locations
roji config init # Create default config file
roji config edit # Open in $EDITOR| Variable | Description | Default |
|---|---|---|
ROJI_NETWORK | Docker network(s) to watch (comma-separated) | roji |
ROJI_DOMAIN | Base domain | dev.localhost |
ROJI_HTTP_PORT | HTTP port | 80 |
ROJI_HTTPS_PORT | HTTPS port | 443 |
ROJI_CERTS_DIR | Certificate directory | ~/.local/share/roji/certs |
ROJI_DATA_DIR | Data directory (project history) | ~/.local/share/roji |
ROJI_DASHBOARD | Dashboard hostname | roji.{domain} |
ROJI_LOG_LEVEL | Log level | info |
ROJI_AUTO_CERT | Auto-generate certificates | true |
Settings are applied in this order (highest priority first):
--network, --domain, etc.)ROJI_NETWORK, ROJI_DOMAIN, etc.)~/.config/roji/config.yaml)roji validates the config file on startup and via roji doctor:
static_sitesWarnings are logged during startup. Run roji doctor for a full validation report.