Merge remote-tracking branch 'upstream/master' into add-custom-port-and-interface

This commit is contained in:
Comet1903 2023-12-24 01:21:26 +01:00
commit 52fa781f13
No known key found for this signature in database
GPG key ID: 1AF8DB863707AC92
31 changed files with 3739 additions and 676 deletions

View file

@ -1,4 +1,7 @@
version: "3.8"
volumes:
etc_wireguard:
services:
wg-easy:
environment:
@ -14,6 +17,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
@ -22,7 +26,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"