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:
+10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user