Variable Reference

VariableDescriptionDefault
ROJI_NETWORKDocker network(s) to watch (comma-separated)roji
ROJI_DOMAINBase domain for service hostnamesdev.localhost
ROJI_HTTP_PORTHTTP port (redirects to HTTPS)80
ROJI_HTTPS_PORTHTTPS port443
ROJI_CERTS_DIRDirectory for TLS certificates~/.local/share/roji/certs
ROJI_DATA_DIRDirectory for data (project history, logs)~/.local/share/roji
ROJI_DASHBOARDDashboard hostnameroji.{domain}
ROJI_LOG_LEVELLog level (debug, info, warn, error)info
ROJI_AUTO_CERTAuto-generate TLS certificatestrue

Usage

# Run with custom settings
ROJI_DOMAIN=test.localhost ROJI_LOG_LEVEL=debug sudo roji

# Watch multiple networks
ROJI_NETWORK=web,api sudo roji

# Use alternative ports
ROJI_HTTP_PORT=8080 ROJI_HTTPS_PORT=8443 sudo roji

Priority

Environment variables override config file values but are overridden by CLI flags:

CLI flags > Environment variables > Config file > Defaults

See Configuration for full details.