wg-easy/package.json
Emile Nijssen 09a824ec61 v1.0.0
2021-05-23 14:47:50 +02:00

15 lines
465 B
JSON

{
"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"
},
"docker": {
"production": {
"tags": "latest"
},
"staging": {
"tags": "beta"
}
}
}