Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # OpenVPN - OpenVPN Client container
- #
- vpn:
- devices:
- - /dev/net/tun
- restart: unless-stopped
- container_name: vpn
- #open any ports for containers which will use this vpn network
- ports:
- - 7881:6881
- - 9991:8080
- dns:
- - 1.1.1.1
- image: dperson/openvpn-client
- labels:
- - autoheal=true
- security_opt:
- - label:disable
- cap_add:
- - NET_ADMIN
- stdin_open: true
- tty: true
- volumes:
- - ${USERDIR}/openvpn/vpn/:/vpn
- command: -f ""
- #
- # Qbittorrent - for VPN Encrypted downloads
- # Requires the OpenVPN container
- #
- qbittorrent:
- image: linuxserver/qbittorrent
- container_name: qbittorrent
- environment:
- - PUID=${PUID}
- - PGID=${PGID}
- - TZ=${TZ}
- - UMASK=0000
- - WEBUI_PORT=8080
- volumes:
- - ${USERDIR}/qbittorrent/data:/data
- - ${USERDIR}/qbittorrent/config:/config
- - ${MEDIA}/qbittorrent:/downloads
- network_mode: "service:vpn"
- labels:
- - autoheal=true
- restart: always
Add Comment
Please, Sign In to add comment