|
|
|
@ -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
|
|
|
|
|