add config and set compose to use it
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
68ecb52ad3
commit
7ea92ddd3a
2 changed files with 21 additions and 15 deletions
13
lxc2/qbittorrent/gluetun/airvpn-ca.conf
Normal file
13
lxc2/qbittorrent/gluetun/airvpn-ca.conf
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Interface]
|
||||||
|
Address = 10.186.81.191/32,fd7d:76ee:e68f:a993:9ba:d4f1:4a9f:2f8f/128
|
||||||
|
PrivateKey = ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4=
|
||||||
|
MTU = 1320
|
||||||
|
DNS = 10.128.0.1, fd7d:76ee:e68f:a993::1
|
||||||
|
|
||||||
|
[Peer]
|
||||||
|
PublicKey = PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=
|
||||||
|
PresharedKey = 3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8=
|
||||||
|
Endpoint = ca3.vpn.airdns.org:1637
|
||||||
|
AllowedIPs = 0.0.0.0/0,::/0
|
||||||
|
PersistentKeepalive = 15
|
||||||
|
|
||||||
|
|
@ -9,26 +9,19 @@ services:
|
||||||
mem_limit: "1024m"
|
mem_limit: "1024m"
|
||||||
mem_reservation: "128m"
|
mem_reservation: "128m"
|
||||||
environment:
|
environment:
|
||||||
# Core VPN config
|
|
||||||
- VPN_SERVICE_PROVIDER=airvpn
|
- VPN_SERVICE_PROVIDER=airvpn
|
||||||
- VPN_TYPE=wireguard
|
- VPN_TYPE=wireguard
|
||||||
|
#- WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4=
|
||||||
# From your WireGuard config:
|
#- WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8=
|
||||||
- WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4=
|
#- WIREGUARD_ADDRESSES=10.186.81.191/32
|
||||||
- WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8= # if present in config
|
#- SERVER_COUNTRIES=Canada
|
||||||
- WIREGUARD_ADDRESSES=10.186.81.191/32 # from your [Interface] Address
|
#- FIREWALL_VPN_INPUT_PORTS=30754
|
||||||
# Endpoint — use resolved IP instead of domain:
|
volumes:
|
||||||
- SERVER_COUNTRIES=Canada
|
- /docker/qbittorrent/gluetun/airvpn-ca.conf:/gluetun/wireguard/wg0.conf
|
||||||
#- WIREGUARD_ENDPOINT_IP=184.75.223.197
|
|
||||||
#- WIREGUARD_ENDPOINT_PORT=1637 # matches AirVPN WG port
|
|
||||||
- WIREGUARD_MTU=1280
|
|
||||||
# Port forwarding for torrenting
|
|
||||||
- FIREWALL_VPN_INPUT_PORTS=30754
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080 # qBittorrent Web UI
|
- 8080:8080 # qBittorrent Web UI
|
||||||
- 30754:30754 # torrent port TCP
|
|
||||||
- 30754:30754/udp # torrent port UDP
|
|
||||||
|
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
image: lscr.io/linuxserver/qbittorrent:latest
|
image: lscr.io/linuxserver/qbittorrent:latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue