Configuration
All compute services
| Variable |
Default |
Meaning |
LEDGER_URLS |
required |
Ledger nodes |
TRUST_FILE |
/config/trust.json |
Trust file |
WALLET_FILE |
/wallet/wallet.json |
Wallet |
WALLET_PASSPHRASE |
required |
Decrypts the wallet |
DATABASE_URL, REDIS_URL |
|
For services that store data |
Entities
| Variable |
Default |
Meaning |
ENTITY_TYPE |
controller or auditor |
Type |
PLANE |
compute |
Plane |
ENTITY_API_URL |
required |
Address |
CERT_FILE |
/wallet/cert.pem |
Certificate |
CAPABILITIES |
{"actions":["kv.put","kv.delete"]} |
Registered capabilities |
METADATA |
{} |
Metadata |
HEARTBEAT_MS |
2000 |
Interval |
ACTIONS |
kv.put,kv.delete |
Actions a controller performs |
ACTION_MODULE_URL, ENCLAVE_URL, VRF_URL, EVIDENCE_URL, REGISTRY_URL |
|
Other services |
Policies
| Variable |
File |
Service |
POLICY_FILE |
/config/capability-policies.json |
capverifier |
EPOCH_CONFIG |
/config/epochs.json |
vrfsystem |
EVENT_CONFIG |
/config/events.json |
ledgerwatcher |
Ledger node
LEDGER_HOME, LEDGER_SEED_HOME, PEERS, RPC_LISTEN (26657), P2P_LISTEN (26656), BLOCK_INTERVAL_MS (1000), PROMETHEUS, LOG_LEVEL.
Registry service
| Variable |
Default |
REGISTRY_SERVER_PORT |
8080 |
REGISTRY_DATABASE_DSN |
required |
REGISTRY_CERTS_ROOT_CA_CERT_PATH |
./certs/root_ca.crt |
REGISTRY_CERTS_ROOT_CA_KEY_PATH |
./certs/root_ca.key |
REGISTRY_CERTS_CERT_TTL_DAYS |
365 |
REGISTRY_CERTS_KEY_SIZE |
4096 |
Verifier deployer
Settings come from config.yaml. Those with a default can be overridden with variables.
| Setting |
Variable |
Default |
server.port |
VDEPLOY_SERVER_PORT |
8081 |
database.dsn |
in the file |
required |
k8s.namespace |
VDEPLOY_K8S_NAMESPACE |
verifiers |
k8s.in_cluster |
VDEPLOY_K8S_IN_CLUSTER |
true |
k8s.kubeconfig_path |
in the file |
~/.kube/config |
verifier.default_image |
VDEPLOY_VERIFIER_DEFAULT_IMAGE |
yourorg/verifier-service:latest |
verifier.default_replicas |
VDEPLOY_VERIFIER_DEFAULT_REPLICAS |
1 |
verifier.service_port |
VDEPLOY_VERIFIER_SERVICE_PORT |
8080 |
verifier.registry_of_registries |
in the file |
none |
Verifier service
| Variable |
Default |
VERIFIER_SERVICE_ID, VERIFIER_ENTITY_TYPE_ID |
generated |
VERIFIER_PORT |
8080 |
VERIFIER_REGISTRY_API_URL |
http://verifier-deployer:8081 |
VERIFIER_ROR_API_URL |
none |
VERIFIER_DSL_SERVER_URL |
http://dsl-server:9000 |
VERIFIER_CENTRAL_ENDPOINT |
http://central-service |
VERIFIER_JOB_ENDPOINT |
http://job-runner |
VERIFIER_DSL_FREE_SLOTS, VERIFIER_DSL_PINNED_SLOTS |
2, 1 |
VERIFIER_NOTIFIER_URL, VERIFIER_NOTIFIER_TIMEOUT_SECONDS |
none, 10 |
VERIFIER_CONFIG_POLL_INTERVAL_SECONDS |
60 |
VERIFIER_DATABASE_DSN |
local PostgreSQL |