Merge pull request #4 from meienberger/update/wg-easy

Update/wg easy
This commit is contained in:
Nicolas Meienberger 2022-08-22 06:33:07 +00:00 committed by GitHub
commit e6d6b96c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 16 deletions

View File

@ -6,7 +6,7 @@
"ports": [51820]
},
"id": "wg-easy",
"tipi_version": 1,
"tipi_version": 2,
"version": "7",
"categories": ["network"],
"description": "Access your homeserver from anywhere even on your mobile device. Wireguard-easy is a simple tool to configure and manage Wireguard VPN servers. It is written in Go and uses the official Wireguard client. You have to open and redirect port 51820 to your homeserver in order to connect.",

View File

@ -1,4 +1,4 @@
version: "3.7"
version: "3.8"
services:
wg-easy:
container_name: wg-easy
@ -6,30 +6,19 @@ services:
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data:/etc/wireguard
- /lib/modules:/lib/modules
ports:
- 51822:51820/udp
- 51820:51820/udp
- ${APP_PORT}:51821/tcp
environment:
WG_HOST: "${WIREGUARD_HOST}"
PASSWORD: "${WIREGUARD_PASSWORD}"
WG_ALLOWED_IPS: 0.0.0.0/0,::/0
WG_PORT: 51822
WG_DEFAULT_DNS: "${WIREGUARD_DNS:-8.8.8.8}"
WG_ALLOWED_IPS: 0.0.0.0/0, ::/0
cap_add:
- NET_ADMIN
- SYS_MODULE
dns:
- "${WIREGUARD_DNS:-8.8.8.8}"
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
networks:
- tipi_main_network
# labels:
# traefik.enable: true
# traefik.http.routers.wireguard.rule: Host(`wireguard.tipi.home`)
# traefik.http.routers.wireguard.service: wireguard
# traefik.http.routers.wireguard.tls: true
# traefik.http.routers.wireguard.entrypoints: websecure
# traefik.http.services.wireguard.loadbalancer.server.port: 51821
- tipi_main_network