Skip to content

Instantly share code, notes, and snippets.

@Demon-tk
Created January 4, 2021 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Demon-tk/acc2890f16587c2a761ddf758c6a321f to your computer and use it in GitHub Desktop.
Save Demon-tk/acc2890f16587c2a761ddf758c6a321f to your computer and use it in GitHub Desktop.
My docker compose for qbitvpn
---
version: "2.1"
services:
apps:
image: binhex/arch-qbittorrentvpn
container_name: qbitvpn
#securityContext:
# capabilities:
# drop: ["all"]
# add: ["NET_BIND"]
cap_add:
- NET_ADMIN
ports:
- 6881:6881
- 6881:6881/udp
- 8080:8080
- 8118:8118
#--name=qbittorrentvpn
volumes:
- /media/movies:/movies
- /media/shows:/shows
- /home/nate/docker/qbit/config:/config
environment:
- VPN_ENABLED=yes
- VPN_PROV=airvpn
- VPN_CLIENT=openvpn
- ENABLE_PRIVOXY=yes
- LAN_NETWORK=10.0.0.1/24
- NAME_SERVERS=1.1.1.1,1.0.0.1,9.9.9.9
- ADDITIONAL_PORTS=1234
- DEBUG=false
- WEBUI_PORT=8080
- UMASK=000
- PUID=1000
- PGID=1000
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment