2021-05-23 18:02:56 +08:00
|
|
|
{
|
2021-05-23 18:38:39 +08:00
|
|
|
"version": "0.1.0",
|
2021-05-23 18:02:56 +08:00
|
|
|
"scripts": {
|
2021-05-23 19:36:26 +08:00
|
|
|
"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"
|
2021-05-23 18:38:39 +08:00
|
|
|
},
|
|
|
|
"docker": {
|
|
|
|
"production": {
|
|
|
|
"tags": "latest"
|
|
|
|
},
|
|
|
|
"staging": {
|
2021-05-23 18:43:52 +08:00
|
|
|
"tags": "beta"
|
2021-05-23 18:38:39 +08:00
|
|
|
}
|
2021-05-23 18:02:56 +08:00
|
|
|
}
|
|
|
|
}
|