OrcaCD LogoOrcaCD

Environment Variables

Complete reference for all OrcaCD configuration options

Below are all the environment variables supported by OrcaCD. These should be configured in your .env file. Be cautious when modifying environment variables that are not recommended to change.

General

These environment variables can be used in both the agent and the hub.

VariableDefault ValueRecommended to changeDescription
LOG_LEVELinfo noLog level. Options: trace, debug, info, warn, error, fatal
LOG_JSONfalsenoEnable JSON formatted logs.

Hub

VariableDefault ValueRecommended to changeDescription
APP_URL-yes (required)The URL of the OrcaCD instance
APP_SECRET-yes (required)Secret used for authentication and encryption. Generate one with openssl rand -base64 42
HOST0.0.0.0noHost address
PORT8080noContainer port
DISABLE_LOCAL_AUTHfalsenoDisable password authentication. Useful when using SSO with OIDC
TRUSTED_PROXIES-noRecommended if using a reverse proxy. Comma seperated list of network origins
DISABLE_UIfalsenoDisable serving the frontend. Useful when using the hub only for API access.
ALLOWED_INTERNAL_IPS-noPrivate IPs that should be ignored by the SSRF protection. Comma seperated list of CIDR ranges or single IPs
DEMOfalsenoThis mode disables all functions except the login and additionally seeds some demo data in the database

Agent

VariableDefault ValueRecommended to changeDescription
HUB_URL-yes (required)The URL of the Hub. Example: https://example.com
AUTH_TOKEN- yes (required)The authentication token of the agent. Register an agent in the hub frontend to retrieve it

Last updated on

On this page