qbitorrentGlueTUN.yml
· 1.3 KiB · YAML
Sin formato
services:
qbittorrent:
image: ghcr.io/hotio/qbittorrent:latest
container_name: qBittorrent-GlueTUN
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080 || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=1
ports:
- 9090:8080
environment:
- PUID=1026 # https://mariushosting.com/synology-find-uid-userid-and-gid-groupid-in-5-seconds/
- PGID=100 # https://mariushosting.com/synology-find-uid-userid-and-gid-groupid-in-5-seconds/
- TZ=Europe/Bucharest # https://timezone.mariushosting.com/
- VPN_ENABLED=true #or false
- VPN_CONF=
- VPN_PROVIDER=
- VPN_LAN_NETWORK=
- VPN_LAN_LEAK_ENABLED=
- VPN_AUTO_PORT_FORWARD=
- VPN_KEEP_LOCAL_DNS=
- VPN_FIREWALL_TYPE=
- VPN_HEALTHCHECK_ENABLED=
- LocalHostAuth=
- PRIVOXY_ENABLED=
- UNBOUND_ENABLED=
volumes:
- /mnt/StoragePool/docker/qbittorrent/config:/config:rw
- /mnt/StoragePool/docker/qbittorrent/downloads:/downloads:rw
devices:
- /dev/net/tun:/dev/net/tun
restart: on-failure:5
| 1 | services: |
| 2 | qbittorrent: |
| 3 | image: ghcr.io/hotio/qbittorrent:latest |
| 4 | container_name: qBittorrent-GlueTUN |
| 5 | security_opt: |
| 6 | - no-new-privileges:true |
| 7 | healthcheck: |
| 8 | test: ["CMD-SHELL", "curl -f http://localhost:8080 || exit 1"] |
| 9 | interval: 30s |
| 10 | timeout: 10s |
| 11 | retries: 3 |
| 12 | start_period: 60s |
| 13 | cap_add: |
| 14 | - NET_ADMIN |
| 15 | sysctls: |
| 16 | - net.ipv4.conf.all.src_valid_mark=1 |
| 17 | - net.ipv6.conf.all.disable_ipv6=1 |
| 18 | ports: |
| 19 | - 9090:8080 |
| 20 | environment: |
| 21 | - PUID=1026 # https://mariushosting.com/synology-find-uid-userid-and-gid-groupid-in-5-seconds/ |
| 22 | - PGID=100 # https://mariushosting.com/synology-find-uid-userid-and-gid-groupid-in-5-seconds/ |
| 23 | - TZ=Europe/Bucharest # https://timezone.mariushosting.com/ |
| 24 | - VPN_ENABLED=true #or false |
| 25 | - VPN_CONF= |
| 26 | - VPN_PROVIDER= |
| 27 | - VPN_LAN_NETWORK= |
| 28 | - VPN_LAN_LEAK_ENABLED= |
| 29 | - VPN_AUTO_PORT_FORWARD= |
| 30 | - VPN_KEEP_LOCAL_DNS= |
| 31 | - VPN_FIREWALL_TYPE= |
| 32 | - VPN_HEALTHCHECK_ENABLED= |
| 33 | - LocalHostAuth= |
| 34 | - PRIVOXY_ENABLED= |
| 35 | - UNBOUND_ENABLED= |
| 36 | volumes: |
| 37 | - /mnt/StoragePool/docker/qbittorrent/config:/config:rw |
| 38 | - /mnt/StoragePool/docker/qbittorrent/downloads:/downloads:rw |
| 39 | devices: |
| 40 | - /dev/net/tun:/dev/net/tun |
| 41 | restart: on-failure:5 |