Configuration
Signer
SIGNER_TOKEN, KEYSTORE_PASSPHRASE, and KEYS, the names of the keys to create.
Origin
| Variable |
Default |
Meaning |
ORIGIN_TOKEN |
required |
Token |
BACKEND |
fs |
fs or s3 |
S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY, S3_BUCKET |
|
For s3 |
S3_SECURE |
true |
Use TLS |
MAX_OBJECT_GB |
1024 |
Largest object |
Aggregator
| Variable |
Default |
Meaning |
DATABASE_URL, RELAYS |
required |
Database and relays |
BRIDGES |
none |
Keys of bridges whose heartbeats count |
SCHEDULER_TTL |
90 |
Seconds a heartbeat is valid |
Bridge
| Variable |
Default |
Meaning |
BRIDGE_NAME, REGION |
required |
Name and region |
AUTHORS |
none |
Authors whose files are distributed |
ORIGINS |
none |
Address prefixes that may be fetched |
RELAYS, AGGREGATOR_URL |
required |
Sources |
SIGNER_URL, SIGNER_TOKEN, BRIDGE_KEY |
key bridge |
Signs heartbeats |
CLUSTER_ID |
1 |
Dragonfly cluster |
PREHEAT_SCOPE |
single_seed_peer |
Scope of preheating |
RECONCILE_SECONDS |
5 |
Interval |
GRPC_LISTEN |
:65003 |
Manager address |
Registry path
| Service |
Variables |
docker-proxy |
HARBOR_PROXY_URL, HARBOR_API_URL, PUSH_USER, PUSH_PASSWORD, UPLOAD_TOKEN |
harbor-proxy |
HARBOR_URL, HARBOR_USER, HARBOR_PASSWORD, L2_URL, INGEST_DRIVER (k8s or http), INGEST_URL, INGEST_TOKEN |
harbor-api |
HARBOR_URL, HARBOR_USER, HARBOR_PASSWORD, UPLOAD_TOKEN |
df-proxy |
UPSTREAM_URL, NODE_NAME, REGION, INDEX_TOKEN, POLICY_FILE |
| Variable |
Default |
Meaning |
PUBLIC_URL, BLOB_URL |
required, PUBLIC_URL |
Addresses of server and downloads |
SIGNER_URL, SIGNER_TOKEN, SIGNER_KEY |
key blossom |
Signs receipts |
WRITERS, CONTENT_TYPES, MAX_BYTES |
all, all, 1 GiB |
Limits |
EDGES, EDGE_TOKEN |
none |
Edges to purge |
SATS_PER_MIB, FREE_BYTES, CASHU_MINTS, LND_URL, LND_CA, LND_MACAROON |
none |
Payments |
ALLOW_PRIVATE |
false |
Allow mirroring from private addresses |
BACKEND, S3_* |
fs |
Storage, as for the origin |
The edge uses ORIGINS, EDGE_TOKEN and CACHE_BYTES (10 GiB).