Configuration¶
Bridge¶
| Variable | Default | Meaning |
|---|---|---|
CLUSTER_ID |
required | Letters, digits, _ and -, at most 64 |
REGION |
local |
Region in advertisements |
LEAF_URL |
required | Leaf port of NATS |
LEAF_USER, LEAF_PASSWORD, LEAF_CA |
none | Authentication and certificate for NATS |
RELAYS |
required | Relays, separated by commas |
SIGNER_URL, SIGNER_TOKEN |
required | Signing agent |
AGENT_TOKEN |
required | Token of agents |
CONFIG_TOKEN |
required | Token for the configuration |
CONFIG_FILE |
none | Initial configuration. Later changes are stored in the bridge |
DHT_BOOTSTRAP |
public DHT | Bootstrap nodes |
DATA_DIR |
/data |
Data directory |
Signing agent¶
SIGNER_TOKEN, and KEY_FILE (/keys/cluster.key) with GENERATE_KEY, or WALLET_URL with WALLET_TOKEN.
Controller¶
CONTROLLER_TOKEN, CONFIG_TOKEN, POLICY_FILE.
DHT node¶
DHT_HOST and DHT_PORT (49737) of the private DHT.