forked from mirrors/amnezia-wg-easy
Merge remote-tracking branch 'pheiduck/main' into rebase-pheiduck
This commit is contained in:
commit
aa939d876c
29 changed files with 3466 additions and 680 deletions
|
@ -1,4 +1,7 @@
|
|||
version: "3.8"
|
||||
volumes:
|
||||
etc_wireguard:
|
||||
|
||||
services:
|
||||
wg-easy:
|
||||
environment:
|
||||
|
@ -13,6 +16,7 @@ services:
|
|||
# - WG_DEFAULT_DNS=1.1.1.1
|
||||
# - WG_MTU=1420
|
||||
# - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24
|
||||
# - WG_PERSISTENT_KEEPALIVE=25
|
||||
# - WG_PRE_UP=echo "Pre Up" > /etc/wireguard/pre-up.txt
|
||||
# - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt
|
||||
# - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt
|
||||
|
@ -21,7 +25,7 @@ services:
|
|||
image: ghcr.io/wg-easy/wg-easy
|
||||
container_name: wg-easy
|
||||
volumes:
|
||||
- .:/etc/wireguard
|
||||
- etc_wireguard:/etc/wireguard
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
- "51821:51821/tcp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue