mirror of
https://github.com/ketan-vijayvargiya/linuxfestnorthwest-talk-2024.git
synced 2024-05-19 06:02:27 -07:00
Add a router that uses self-signed certs.
This commit is contained in:
parent
d493f95fd7
commit
efb77c84c6
17
compose.yaml
17
compose.yaml
|
@ -31,19 +31,26 @@ services:
|
|||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
whoami:
|
||||
whoami-self-signed-certs:
|
||||
image: traefik/whoami
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.http.routers.whoami.rule=Host(`whoami-1.${BASE_DOMAIN}`)
|
||||
- traefik.http.routers.whoami.tls.certresolver=webExternalResolver
|
||||
- traefik.http.routers.whoami-self-signed-certs.rule=Host(`whoami-0.${BASE_DOMAIN}`)
|
||||
- traefik.http.routers.whoami-self-signed-certs.tls=
|
||||
|
||||
whoami-public-ca:
|
||||
image: traefik/whoami
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.http.routers.whoami-public-ca.rule=Host(`whoami-1.${BASE_DOMAIN}`)
|
||||
- traefik.http.routers.whoami-public-ca.tls.certresolver=webExternalResolver
|
||||
|
||||
whoami-custom-cert:
|
||||
image: traefik/whoami
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.http.routers.whoami-my-cert.rule=Host(`whoami-2.${BASE_DOMAIN}`)
|
||||
- traefik.http.routers.whoami-my-cert.tls.certresolver=stepCaResolver
|
||||
- traefik.http.routers.whoami-custom-cert.rule=Host(`whoami-2.${BASE_DOMAIN}`)
|
||||
- traefik.http.routers.whoami-custom-cert.tls.certresolver=stepCaResolver
|
||||
|
||||
whoami-custom-cert-mtls:
|
||||
image: traefik/whoami
|
||||
|
|
Loading…
Reference in a new issue