app-store/apps/wg-easy/docker-compose.yml

50 lines
1.9 KiB
YAML
Raw Normal View History

2022-09-07 05:09:27 +00:00
version: "3.7"
2022-07-28 17:46:12 +00:00
services:
wg-easy:
container_name: wg-easy
image: ghcr.io/wg-easy/wg-easy:13
2022-07-28 17:46:12 +00:00
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data:/etc/wireguard
ports:
2022-08-22 05:51:40 +00:00
- 51820:51820/udp
2022-07-28 17:46:12 +00:00
- ${APP_PORT}:51821/tcp
environment:
WG_HOST: "${WIREGUARD_HOST}"
PASSWORD: "${WIREGUARD_PASSWORD}"
WG_DEFAULT_DNS: "${WIREGUARD_DNS:-8.8.8.8}"
2022-08-22 06:19:30 +00:00
WG_ALLOWED_IPS: 0.0.0.0/0, ::/0
2022-07-28 17:46:12 +00:00
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
networks:
2022-11-11 19:33:58 +00:00
- tipi_main_network
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.wg-easy-web-redirect.redirectscheme.scheme: https
traefik.http.services.wg-easy.loadbalancer.server.port: 51821
# Web
traefik.http.routers.wg-easy-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.wg-easy-insecure.entrypoints: web
traefik.http.routers.wg-easy-insecure.service: wg-easy
traefik.http.routers.wg-easy-insecure.middlewares: wg-easy-web-redirect
# Websecure
2022-11-11 19:33:58 +00:00
traefik.http.routers.wg-easy.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.wg-easy.entrypoints: websecure
traefik.http.routers.wg-easy.service: wg-easy
traefik.http.routers.wg-easy.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.wg-easy-local-insecure.rule: Host(`wg-easy.${LOCAL_DOMAIN}`)
traefik.http.routers.wg-easy-local-insecure.entrypoints: web
traefik.http.routers.wg-easy-local-insecure.service: wg-easy
traefik.http.routers.wg-easy-local-insecure.middlewares: wg-easy-web-redirect
# Local domain secure
traefik.http.routers.wg-easy-local.rule: Host(`wg-easy.${LOCAL_DOMAIN}`)
traefik.http.routers.wg-easy-local.entrypoints: websecure
traefik.http.routers.wg-easy-local.service: wg-easy
traefik.http.routers.wg-easy-local.tls: true