Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- # VPN Service (Gluetun - Required for other containers)
- gluetun:
- container_name: gluetun
- image: qmcgaw/gluetun
- cap_add:
- - NET_ADMIN # Grants network admin privileges
- devices:
- - /dev/net/tun:/dev/net/tun # Required for VPN tunneling
- environment:
- - VPN_SERVICE_PROVIDER=Mullvad
- - VPN_TYPE=wireguard
- - WIREGUARD_ENDPOINT_IP=
- - WIREGUARD_ENDPOINT_PORT=
- - WIREGUARD_PUBLIC_KEY=
- - WIREGUARD_PRIVATE_KEY=
- - WIREGUARD_PRESHARED_KEY=
- - WIREGUARD_ADDRESSES=
- ports:
- - '8080:8080' # Web UI
- - '6881:6881' # Torrent TCP
- - '6881:6881/udp' # Torrent UDP
- - '8888:8888/tcp'
- - '8388:8388/tcp'
- - '8388:8388/udp'
- - '8989:8989' # Sonarr Web UI
- volumes:
- - /mnt/Test/Public/Apps/Gluetun:/config # Gluetun config storage
- - /mnt/Test/Public/Apps/Gluetun/Logs:/logs # Log storage
- restart: unless-stopped
- # qBittorrent Service (Uses Gluetun VPN)
- qbittorrent:
- container_name: qbittorrent
- image: ghcr.io/hotio/qbittorrent
- environment:
- - PUID=568 # User ID for permissions
- - PGID=568 # Group ID for permissions
- - UMASK=002 # File permission mask
- - TZ=Europe/Berlin # Set timezone
- network_mode: service:gluetun # Uses VPN network
- volumes:
- - /mnt/Test/Public/Apps/Qbittorrent:/config # qBittorrent config storage
- - /mnt/Test/Public/Anime:/media # Download directory
- restart: unless-stopped
- # Sonarr Service (Uses Gluetun VPN)
- sonarr:
- container_name: sonarr
- image: ghcr.io/hotio/sonarr
- environment:
- - PUID=568
- - PGID=568
- - UMASK=002
- - TZ=Europe/Berlin
- network_mode: service:gluetun # Uses VPN network
- volumes:
- - /mnt/Test/Public/Apps/Sonarr:/config # Sonarr config storage
- - /mnt/Test/Public/Anime:/data # Media storage
- restart: unless-stopped
Add Comment
Please, Sign In to add comment