46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
client_id = "x1-cache"
|
|
display_name = "x1 cache"
|
|
role = "cache"
|
|
control_endpoint = "ws://bot.everdream.xyz:8766/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"
|
|
heartbeat_interval = "15s"
|
|
offline_timeout = "45s"
|
|
reconnect_initial = "1s"
|
|
reconnect_max = "60s" # Retry forever, capped at this delay.
|
|
reconnect_reset_after = "60s"
|
|
reconnect_jitter = true
|
|
|
|
[jobs]
|
|
stall_after = "30m" # Status warning only; it does not fail the job.
|
|
verification_timeout = "30m"
|
|
poll_interval = "1s"
|
|
free_space_reserve_bytes = 33554432 # 32 MiB; payload bytes are added for copy paths.
|
|
|
|
[backup]
|
|
interval = "6h"
|
|
recent = 12
|
|
daily = 14
|
|
weekly = 8
|
|
|
|
[qbittorrent]
|
|
endpoint = "http://127.0.0.1:8081"
|
|
username = "${QB_USER}"
|
|
password_file = "/run/secrets/qb_password"
|
|
api_root = "/downloads"
|
|
local_root = "/data/qb"
|
|
|
|
[syncthing]
|
|
endpoint = "http://127.0.0.1:8384"
|
|
api_key_file = "/run/secrets/syncthing_api_key"
|
|
api_root = "/var/syncthing"
|
|
local_root = "/data/sync"
|
|
# This existing folder is physically inside the qB data tree. Map it through
|
|
# that same client bind mount so source staging can use hardlinks.
|
|
local_path_overrides = { "/var/syncthing/DownloadsSync" = "/data/qb/Sync", "/var/syncthing/routes" = "/data/qb/.archive-control-routes" }
|
|
advertised_addresses = ["dynamic"]
|