mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
797 B
10 lines
797 B
{
|
|
"version": "1.0.1",
|
|
"scripts": {
|
|
"sudobuild": "DOCKER_BUILDKIT=1 sudo docker build --tag wg-easy .",
|
|
"build": "DOCKER_BUILDKIT=1 docker build --tag wg-easy .",
|
|
"serve": "docker compose -f docker-compose.yml -f docker-compose.dev.yml up",
|
|
"sudostart": "sudo 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"
|
|
}
|
|
}
|