---
cs_qbittorrent_nox_docker_image: "{{ cs_vm_artifact_registry_containers_home }}/qbittorrent-nox"
cs_qbittorrent_nox_docker_tag: "5.2.4-lt2-1"
cs_qbittorrent_nox_container_name: "qbittorrent-nox"

cs_qbittorrent_nox_group: qbittorrent-nox
cs_qbittorrent_nox_user: qbittorrent-nox
cs_qbittorrent_nox_user_gid: 1984
cs_qbittorrent_nox_user_uid: 1985
cs_qbittorrent_nox_server_dns: "{{ __cs_cluster_dns_servers }}"
cs_qbittorrent_nox_container_root: "/app/qbittorrent-nox-container-root"
cs_qbittorrent_nox_cluster: "{{ cs_cluster_name }}"

cs_qbittorrent_nox_public_uri:
    - "https://qbittorrent-nox-{{ inventory_hostname }}.{{ __cs_cluster_domain }}"
# Trusted so qBittorrent reads the real client IP from X-Forwarded-For when reached through the
# reverse proxy (which lives inside this range), while direct connections from outside these
# ranges still resolve to their own TCP address, mirroring cs_nc_trusted_proxies /
# cs_vikunja_trusted_proxies. An empty list here silently disables
# WebUI\ReverseProxySupportEnabled entirely, so this must stay populated for the reverse proxy
# to work.
cs_qbittorrent_nox_trusted_proxies:
    - "{{ __cs_cluster_cidr }}"
    - "{{ __cs_cluster_vpn_cidr }}"

# https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_module.html#parameter-mounts
cs_qbittorrent_nox_container_media_mounts: []
cs_qbittorrent_nox_download_dir: "/app/qbittorrent-nox-downloads"

cs_qbittorrent_nox_restic_cluster_name: "{{ cs_qbittorrent_nox_cluster }}"
cs_qbittorrent_nox_restic_node_name: "{{ inventory_hostname }}"
cs_qbittorrent_nox_restic_repo_name: "qbittorrentnox"
