added wireguard
This commit is contained in:
parent
06f1abe34b
commit
b3bd53fddc
@ -1,21 +1,34 @@
|
|||||||
---
|
---
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
qbittorrent-nox:
|
qbittorrent:
|
||||||
image: qbittorrentofficial/qbittorrent-nox:latest
|
image: qbittorrentofficial/qbittorrent-nox:latest
|
||||||
container_name: qbittorrent-nox
|
container_name: qbittorrent-nox
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- QBT_EULA=true
|
|
||||||
- QBT_VERSION=latest
|
|
||||||
- QBT_WEBUI_PORT=6882
|
- QBT_WEBUI_PORT=6882
|
||||||
|
- QBT_VERSION=latest
|
||||||
|
- QBT_EULA=true
|
||||||
|
volumes:
|
||||||
|
- ./qbit-config:/config
|
||||||
|
- ../../documents/downloads:/downloads
|
||||||
|
network_mode: host
|
||||||
|
depends_on:
|
||||||
|
- vpn
|
||||||
|
vpn:
|
||||||
|
image: lscr.io/linuxserver/wireguard:latest
|
||||||
|
container_name: wireguard
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/Denver
|
||||||
|
- SERVERPORT=51820 #optional
|
||||||
|
- LOG_CONFS=true #optional
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
# I like setting this to somewhere FileBrowser can see
|
|
||||||
- ./downloads:/downloads
|
|
||||||
restart: unless-stopped
|
|
||||||
# With network_mode set to host you can access VPN
|
|
||||||
# interfaces setup on your local (as in the machine running docker) machine.
|
|
||||||
# You could also pair this with a Wireguard container and do internal
|
|
||||||
# networking for potentially more security.
|
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
# sysctls:
|
||||||
|
# - net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
Loading…
Reference in New Issue
Block a user