Add VPN config
This commit is contained in:
@@ -1,7 +1,37 @@
|
|||||||
services:
|
services:
|
||||||
|
gluetun:
|
||||||
|
container_name: GlueTun-VPN
|
||||||
|
image: qmcgaw/gluetun
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
- 51820:51820
|
||||||
|
- 51820:51820/udp
|
||||||
|
- 46931:46931
|
||||||
|
- 46931:46931/udp
|
||||||
|
environment:
|
||||||
|
- VPN_SERVICE_PROVIDER=custom
|
||||||
|
- VPN_TYPE=wireguard
|
||||||
|
- VPN_ENDPOINT_IP=${ENDPOINT_IP}
|
||||||
|
- WIREGUARD_ADDRESSES=${WIREGUARD_ADDR}
|
||||||
|
- VPN_ENDPOINT_PORT=${ENDPOINT_PORT}
|
||||||
|
- VPN_DNS_ADDRESS=${DNS_ADDRESS}
|
||||||
|
- WIREGUARD_PUBLIC_KEY=${PUBLIC_KEY}
|
||||||
|
- WIREGUARD_PRIVATE_KEY=${PRIVATE_KEY}
|
||||||
|
- VPN_PORT_FORWARDING=on
|
||||||
|
- VPN_PORT_FORWARDING_PROVIDER=protonvpn
|
||||||
|
- VPN_PORT_FORWARDING_STATUS_FILE=/tmp/gluetun/forwarded_port
|
||||||
|
- TZ=${TZ}
|
||||||
|
- UPDATER_PERIOD=24h
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /data/jellyfin:/data/jellyfin
|
||||||
|
- /data/jellyfin/gluetun:/tmp/gluetun
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
image: lscr.io/linuxserver/qbittorrent:latest
|
image: lscr.io/linuxserver/qbittorrent:latest
|
||||||
container_name: qbittorrent
|
container_name: qbittorrent
|
||||||
|
network_mode: service:gluetun
|
||||||
environment:
|
environment:
|
||||||
- WEBUI_PORT=8080
|
- WEBUI_PORT=8080
|
||||||
- PUID=0
|
- PUID=0
|
||||||
|
|||||||
Reference in New Issue
Block a user