55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun:latest
|
|
container_name: gluetun
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
ports:
|
|
- 47965:47965
|
|
- 47965:47965/udp
|
|
- 8080:8080
|
|
- 8112:8112
|
|
volumes:
|
|
- /mnt/user/appdata/gluetun:/gluetun
|
|
environment:
|
|
- VPN_SERVICE_PROVIDER=airvpn
|
|
- VPN_TYPE=wireguard
|
|
- WIREGUARD_PRIVATE_KEY=QEMKP5heBjTLoXwXKa63JneOlOji4jOOiW4mTCRDjn0=
|
|
- WIREGUARD_PRESHARED_KEY=QpyvbpItLpbYHQwZ7fESaqUxG4R6owGEkcuHicVp5JU=
|
|
- WIREGUARD_ADDRESSES=10.189.105.151/32
|
|
- SERVER_COUNTRIES=Netherlands
|
|
- FIREWALL_VPN_INPUT_PORTS=19769
|
|
- BLOCK_MALICIOUS=off
|
|
- BLOCK_SURVEILLANCE=off
|
|
- BLOCK_ADS=off
|
|
- TZ=Europe/Vienna
|
|
healthcheck:
|
|
test: ping -c 1 www.google.com || exit 1
|
|
interval: 60s
|
|
timeout: 20s
|
|
retries: 5
|
|
labels:
|
|
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/gluetun.png"
|
|
folder.view2: "Networking"
|
|
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
network_mode: "service:gluetun"
|
|
environment:
|
|
- PUID=1005
|
|
- PGID=100
|
|
- TZ=Europe/Vienna
|
|
- WEBUI_PORT=8080
|
|
volumes:
|
|
- /mnt/user/appdata/qbittorrent:/config
|
|
- /mnt/user/volume1/torrents:/data/torrents
|
|
depends_on:
|
|
gluetun:
|
|
condition: service_healthy
|
|
labels:
|
|
net.unraid.docker.icon: "https://raw.githubusercontent.com/linuxserver/docker-templates/refs/heads/master/linuxserver.io/img/qbittorrent-icon.png"
|
|
folder.view2: "Services"
|