wg-easy/package.json

9 lines
435 B
JSON
Raw Normal View History

2021-05-23 18:02:56 +08:00
{
2021-05-23 20:47:50 +08:00
"version": "1.0.0",
2021-05-23 18:02:56 +08:00
"scripts": {
2021-05-23 19:36:26 +08:00
"build": "docker build --tag wg-easy .",
2021-07-14 02:51:23 +08:00
"serve": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
2021-05-23 23:07:37 +08:00
"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"
2021-05-23 18:02:56 +08:00
}
2021-11-13 05:27:58 +08:00
}