diff --git a/apps/wg-easy/config.json b/apps/wg-easy/config.json index 1048fe24..53373f21 100644 --- a/apps/wg-easy/config.json +++ b/apps/wg-easy/config.json @@ -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.", diff --git a/apps/wg-easy/docker-compose.yml b/apps/wg-easy/docker-compose.yml index 907cb315..e81afd95 100644 --- a/apps/wg-easy/docker-compose.yml +++ b/apps/wg-easy/docker-compose.yml @@ -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 \ No newline at end of file