45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
client_id = "cache-1"
|
|
display_name = "Cache 1"
|
|
role = "cache"
|
|
control_endpoint = "ws://control:8765/archive_control"
|
|
shared_token_file = "/run/secrets/archive_control_token"
|
|
state_db = "/var/lib/archive-control/client.db"
|
|
backup_dir = "/var/backups/archive-control"
|
|
|
|
[connection]
|
|
registration_timeout = "10s"
|
|
reconnect_initial = "1s"
|
|
reconnect_max = "60s"
|
|
reconnect_reset_after = "60s"
|
|
reconnect_jitter = true
|
|
|
|
[jobs]
|
|
# Mark a job stalled after it has made no progress for this long.
|
|
stall_after = "30m"
|
|
# Upper bound for qBittorrent's stopped full recheck.
|
|
verification_timeout = "30m"
|
|
# Poll qBittorrent and Syncthing at this interval while a step is active.
|
|
poll_interval = "1s"
|
|
# Space that must remain free after a worst-case copy fallback.
|
|
free_space_reserve_bytes = 33554432
|
|
|
|
[backup]
|
|
interval = "6h"
|
|
recent = 12
|
|
daily = 14
|
|
weekly = 8
|
|
|
|
[qbittorrent]
|
|
endpoint = "http://qbittorrent:8080"
|
|
username = "admin"
|
|
password_file = "/run/secrets/qb_password"
|
|
api_root = "/downloads"
|
|
local_root = "/data/qb"
|
|
|
|
[syncthing]
|
|
endpoint = "http://syncthing:8384"
|
|
api_key_file = "/run/secrets/syncthing_api_key"
|
|
api_root = "/sync"
|
|
local_root = "/data/sync"
|
|
advertised_addresses = ["dynamic"]
|