2026-07-15 08:07:24 +02:00
|
|
|
# varde example configuration — /etc/varde/config.toml (system) or
|
|
|
|
|
# $XDG_CONFIG_HOME/varde/config.toml (user).
|
|
|
|
|
#
|
|
|
|
|
# Every key is optional; the daemon runs with an empty (or absent)
|
|
|
|
|
# config. Values shown are the defaults. Precedence:
|
|
|
|
|
# CLI flags > VARDE_* environment > this file > defaults.
|
|
|
|
|
|
|
|
|
|
# Directory holding the blob store, metadata and endpoint secret key.
|
|
|
|
|
# Default: /var/lib/varde (system) or $XDG_DATA_HOME/varde (user).
|
|
|
|
|
#store_dir = "/var/lib/varde"
|
|
|
|
|
|
|
|
|
|
# Unix socket serving the JSON-lines API.
|
|
|
|
|
# Default: /run/varde/varde.sock (system) or $XDG_RUNTIME_DIR/varde.sock.
|
|
|
|
|
#socket_path = "/run/varde/varde.sock"
|
|
|
|
|
|
|
|
|
|
# Upload cap in bytes/sec. 0 disables serving entirely.
|
|
|
|
|
#max_upload_bytes_per_sec = 10485760 # 10 MiB/s
|
|
|
|
|
|
2026-08-16 15:04:22 +02:00
|
|
|
# Download cap in bytes/sec. 0 means unlimited. Currently not
|
|
|
|
|
# enforced: the cap rode a seam the iroh-blobs 0.103 downloader does
|
|
|
|
|
# not expose yet.
|
2026-07-15 08:07:24 +02:00
|
|
|
#max_download_bytes_per_sec = 0
|
|
|
|
|
|
2026-08-16 15:04:22 +02:00
|
|
|
# Interval of the store's built-in garbage collector, in seconds.
|
|
|
|
|
# Unpinned blobs are swept by this loop; there is no on-demand gc.
|
|
|
|
|
#gc_interval_secs = 300
|
|
|
|
|
|
2026-07-15 08:07:24 +02:00
|
|
|
# LAN peer discovery (mDNS). Discovery is the open tier: being visible
|
|
|
|
|
# costs nothing; serving is still gated on trust and per-pin policy.
|
|
|
|
|
#discovery = true
|
|
|
|
|
|
|
|
|
|
# Permit WAN traffic (enables the iroh relay for NAT traversal). Off by
|
|
|
|
|
# default: LAN-only posture, zero WAN upload.
|
|
|
|
|
#wan_upload = false
|