mirror of https://github.com/wg-easy/wg-easy
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||
|
{ |
||||
|
"name": "amnezia-wg-easy", |
||||
|
"version": "1.0.0", |
||||
|
"lockfileVersion": 3, |
||||
|
"requires": true, |
||||
|
"packages": { |
||||
|
"": { |
||||
|
"version": "1.0.0" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
{ |
||||
|
"version": "1.0.0", |
||||
|
"scripts": { |
||||
|
"build": "DOCKER_BUILDKIT=1 docker build --tag amnezia-wg-easy .", |
||||
|
"start": "docker run --env WG_HOST=0.0.0.0 --name amnezia-wg-easy --device=/dev/net/tun:/dev/net/tun --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 amnezia-wg-easy" |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue