Environment variables

Reference · ViswCA Governance Engine 2.0
VariableDefaultMeaning
VISWCA_HOST / VISWCA_PORT0.0.0.0 / 5000Listen address and port
VISWCA_THREADS8Worker threads
VISWCA_HTTPS-1 = served over HTTPS (secure cookies, HSTS)
VISWCA_PROXY-1 = trust X-Forwarded-* from one reverse proxy
VISWCA_TRUSTED_ORIGINS-Extra site addresses allowed to send changes
SECRET_KEYgeneratedSession signing key (same on every server)
VISWCA_DATA_KEYgeneratedEncryption key for stored secrets (same on every server)
VISWCA_LICENSE_FILE~/.ViswCA-Governance/license.licLicence location
VISWCA_DB_URL-PostgreSQL URL (unset = SQLite files)
VISWCA_DB_POOL / _MIN / _WAIT32 / 32 / 30 sPostgreSQL connections per server, kept open, wait for a free one
VISWCA_NODE_NAMEhost nameServer name in a cluster
VISWCA_SCHEDULER / VISWCA_CONNECTORS1 / 10 = don't run schedules / connector listeners in this process
VISWCA_CONNECTOR_MAX_CONN / _MAX_PER_IP500 / 100Connection limits per connector
VISWCA_CONNECTOR_LOGIN_TIMEOUT / _IDLE_TIMEOUT60 / 900 sConnector login deadline and idle timeout
VISWCA_API_RATE600API requests per token per minute
VISWCA_PUBLIC_URL-External address used in SSO redirects
VISWCA_PYTHONpython3Interpreter for Python code steps