Configuration¶
Oracle service¶
| Variable | Default | Meaning |
|---|---|---|
KERI_PASSPHRASE |
required | Protects the keys of all subjects |
ADMIN_TOKEN |
required | Administration token |
MEMBER_TOKEN |
required | Token presented to committee members |
MEMBERS |
[] |
Default committee |
AGGREGATE_SECONDS |
0 |
Interval of automatic aggregation. 0 disables it |
PUBLIC_URL |
http://localhost:8080 |
Address in introductions |
DATA_DIR |
/data |
Data directory |
NETWORK |
/config/network.json |
Network file |
ORACLE_PORT |
7700 |
Local port of the Compose stack |
Network file¶
{
"relay": "ws://relay:8080",
"witnesses": [{"aid": "B...", "url": "http://witness-0:8080", "api_key": "..."}],
"watchers": [{"aid": "B...", "url": "http://watcher-0:8080", "api_key": "..."}],
"notaries": [{"aid": "B...", "url": "http://notary-0:8080", "api_key": "..."}]
}
The start script creates it and a tenant on each service. Set RELAY_URL before the first start to publish through a Nostr relay. The variables of committee members are listed in Running a Committee.