mirror of https://github.com/wg-easy/wg-easy
3 changed files with 36 additions and 7 deletions
@ -1,7 +1,7 @@ |
|||||
{ |
{ |
||||
"version": "1.0.0", |
"version": "1.0.0", |
||||
"scripts": { |
"scripts": { |
||||
"build": "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", |
"serve": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up", |
||||
"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" |
||||
} |
} |
||||
|
Loading…
Reference in new issue