From 4ac7e85e5634a3c61b8746d3aa82d55ceb752257 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Thu, 27 Apr 2023 00:55:37 +0000 Subject: [PATCH] Workflow update --- lsio/wireguard/docker-compose.yaml | 3 --- lsio/wireguard/docker-run.sh | 2 -- 2 files changed, 5 deletions(-) diff --git a/lsio/wireguard/docker-compose.yaml b/lsio/wireguard/docker-compose.yaml index 5afd8be..83cd620 100644 --- a/lsio/wireguard/docker-compose.yaml +++ b/lsio/wireguard/docker-compose.yaml @@ -17,7 +17,6 @@ services: container_name: wireguard cap_add: - NET_ADMIN - - SYS_MODULE environment: # for UserID - PUID=${PUID:-1024} @@ -44,8 +43,6 @@ services: volumes: # Contains all relevant configuration files. - ${BASEDIR:-/volume1/docker}/wireguard/config:/config - # Maps host's modules folder. Only required if compiling wireguard modules. - - /lib/modules:/lib/modules # optional ports: # wireguard port - 51820:51820/udp diff --git a/lsio/wireguard/docker-run.sh b/lsio/wireguard/docker-run.sh index 2b9b73a..002e4cb 100644 --- a/lsio/wireguard/docker-run.sh +++ b/lsio/wireguard/docker-run.sh @@ -13,7 +13,6 @@ docker run -d \ --name=wireguard \ --cap-add=NET_ADMIN \ - --cap-add=SYS_MODULE \ -e PUID=${PUID:-1024} `# for UserID` \ -e PGID=${PGID:-100} `# for GroupID` \ -e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \ @@ -27,7 +26,6 @@ docker run -d \ -e LOG_CONFS=true `# optional` `# Generated QR codes will be displayed in the docker log. Set to `false` to skip log output.` \ -p 51820:51820/udp `# wireguard port` \ -v ${BASEDIR:-/volume1/docker}/wireguard/config:/config `# Contains all relevant configuration files.` \ - -v /lib/modules:/lib/modules `# optional` `# Maps host's modules folder. Only required if compiling wireguard modules.` \ --sysctl="net.ipv4.conf.all.src_valid_mark=1" \ --restart unless-stopped \ ghcr.io/linuxserver/wireguard