From 01208f470392f7d34f11ebc23fe161e84ef03673 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 4 Mar 2023 21:00:24 +1100 Subject: [PATCH] set up wireguard manually --- services/torrents/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/services/torrents/docker-compose.yml b/services/torrents/docker-compose.yml index 534a4af..95e4e79 100644 --- a/services/torrents/docker-compose.yml +++ b/services/torrents/docker-compose.yml @@ -59,6 +59,26 @@ services: traefik.enable: true traefik.http.routers.qbittorrent.middlewares: authelia@file + wireguard: + hostname: wireguard + image: linuxserver/wireguard + environment: + PUID: ${NASCOMPOSE_UID?} + PGID: ${NASCOMPOSE_GID?} + cap_add: + - NET_ADMIN + sysctls: + net.ipv4.conf.all.src_valid_mark: 1 + networks: + - reverse-proxy + configs: + - source: qbittorrent_vpn_settings + target: /config/wg0.conf + restart: unless-stopped + labels: + traefik.enable: true + traefik.http.routers.wireguard.middlewares: authelia@file + networks: torrents: name: torrents