stashing changes, trying some things out with the configuration of the ca server and which network to put it on

This commit is contained in:
venus
2026-09-16 19:41:53 -05:00
parent 0069f9bf3c
commit b2df5636fe
3 changed files with 20 additions and 0 deletions
+10
View File
@@ -21,11 +21,16 @@ services:
- "80:80"
- "443:443"
- "51820:51820/udp"
# - "9000:9000"
# - "53:53"
networks:
- backend
dns:
- 1.1.1.1
- 8.8.8.8
extra_hosts:
- "wg.dfnk:127.0.0.1"
- "ca.dfnk:127.0.0.1"
labels:
- "traefik.enable=true"
- "traefik.http.services.wg-easy-svc.loadbalancer.server.port=51821"
@@ -43,6 +48,7 @@ services:
- "traefik.http.routers.wg-easy-private.entrypoints=websecure"
# No certresolver here, will mess with browsers
- "traefik.http.routers.wg-easy-private.tls=true"
- "traefik.http.routers.wg-easy-private.tls.certresolver=defenk"
- "traefik.http.routers.wg-easy-private.service=wg-easy-svc"
traefik: # This is the proxy for all other services. Using labels it dynamically secures reverse proxies to other containters
@@ -86,6 +92,10 @@ services:
depends_on:
- wg-easy
network_mode: "service:wg-easy"
# networks:
# backend:
# - ca.dfnk
# - step-ca
networks:
# Backend network for docker containers to talk to eachother