add working but disabled wireguard conf

Need to figure out what I actually want from wireguard, then set it up
properly.
This commit is contained in:
oxmox 2023-09-03 14:17:09 +02:00
parent ac335697ad
commit 8164e0fe4f

View file

@ -33,3 +33,32 @@ services:
#- "traefik.http.routers.whoami.entrypoints=web" #- "traefik.http.routers.whoami.entrypoints=web"
- "traefik.http.routers.whoami.entrypoints=websecure" - "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=myresolver" - "traefik.http.routers.whoami.tls.certresolver=myresolver"
#wireguard:
# image: lscr.io/linuxserver/wireguard:latest
# container_name: wireguard
# labels:
# - "traefik.enable=true"
# cap_add:
# - NET_ADMIN
# #- SYS_MODULE
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Europe/Berlin
# #- SERVERURL=wireguard.oxmox.root.sx #optional
# - SERVERPORT=51820 #optional
# - PEERS=1 #optional
# - PEERDNS=auto #optional
# - INTERNAL_SUBNET=10.42.23.0 #optional
# - ALLOWEDIPS=10.42.23.0/24 #optional
# - PERSISTENTKEEPALIVE_PEERS= #optional
# - LOG_CONFS=true #optional
# volumes:
# - ./wireguard:/config
# #- /lib/modules:/lib/modules #optional
# ports:
# - 51820:51820/udp
# sysctls:
# - net.ipv4.conf.all.src_valid_mark=1
# restart: unless-stopped