set up wireguard manually
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user