32 lines
831 B
TOML
32 lines
831 B
TOML
client_id = "cache-2"
|
|
display_name = "E2E Cache 2"
|
|
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 = "5s"
|
|
heartbeat_interval = "2s"
|
|
offline_timeout = "10s"
|
|
reconnect_initial = "1s"
|
|
reconnect_max = "5s"
|
|
reconnect_reset_after = "10s"
|
|
reconnect_jitter = false
|
|
|
|
[qbittorrent]
|
|
endpoint = "http://qb-cache-2:8080"
|
|
username = "admin"
|
|
password_file = "/run/secrets/qb_password"
|
|
api_root = "/downloads"
|
|
local_root = "/data/qb"
|
|
|
|
[syncthing]
|
|
endpoint = "http://syncthing-cache-2:8384"
|
|
api_key_file = "/run/secrets/syncthing_api_key"
|
|
api_root = "/sync"
|
|
local_root = "/data/sync"
|
|
advertised_addresses = ["tcp://syncthing-cache-2:22000"]
|
|
|