This commit is contained in:
Emile Nijssen 2021-05-23 17:05:24 +02:00
parent d8c4598511
commit a6da5cc684
5 changed files with 33 additions and 3 deletions

View file

@ -2,7 +2,8 @@
"version": "1.0.0",
"scripts": {
"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"
"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",
"lint": "eslint src"
},
"docker": {
"production": {