Parameters and Environment Variables

Comrade can be configured via env variables and command line parameters

Command Line Parameter

Environment Variable

Description

--host

COMRADE_HOST

Host to bind to, defaults to 0.0.0.0

--port

COMRADE_PORT

Port to listen on, defaults to 8000

--debug

COMRADE_DEBUG

Run server in debug

--cert

COMRADE_CERT

Path to cert file

--key

COMRADE_KEY

Path to key file

--clusters-dir

COMRADE_CLUSTERS_DIR

Path to your clusters dir

Last updated