This commit is contained in:
Emile Nijssen 2021-05-23 13:36:26 +02:00
parent d9901aa8a3
commit 0f220c1a78
14 changed files with 100 additions and 8 deletions

View file

@ -1,7 +1,8 @@
{
"version": "0.1.0",
"scripts": {
"build": "docker build --tag wg-easy ."
"build": "docker build --tag wg-easy .",
"start": "docker run --env WG_HOST=0.0.0.0 --name wg-easy --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl=\"net.ipv4.conf.all.src_valid_mark=1\" --mount type=bind,source=\"$(pwd)\"/config,target=/etc/wireguard -p 51820:51820/udp -p 51821:51821/tcp wg-easy"
},
"docker": {
"production": {