Add huber-putz with certificates to infra.

This commit is contained in:
root
2022-09-14 07:59:45 +02:00
parent d3fc36d625
commit f911c7e4fe

View File

@@ -0,0 +1,30 @@
version: "3.9"
networks:
proxy:
external: true
services:
huber-putz:
image: cs-registry.ddnss.de/huber/huber-putz
container_name: huber-putz
hostname: huber-putz
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.huber-putz.rule=Host(`huber-stuck.de`) || Host(`huber-putz.com`)"
- "traefik.http.routers.huber-putz.entrypoints=web"
- "traefik.http.routers.huber-putz.middlewares=huber-putz"
- "traefik.http.middlewares.huber-putz.redirectscheme.scheme=https"
- "traefik.http.routers.huber-putz-secure.rule=Host(`huber-stuck.de`) || Host(`huber-putz.com`)"
- "traefik.http.routers.huber-putz-secure.entrypoints=websecure"
- "traefik.http.routers.huber-putz-secure.tls=true"
- "traefik.http.routers.huber-putz-secure.tls.certresolver=infomaniak"
- "traefik.http.routers.huber-putz-secure.tls.domains[0].main=huber-stuck.de"
- "traefik.http.routers.huber-putz-secure.tls.domains[0].sans=*.huber-stuck.de"
- "traefik.http.routers.huber-putz-secure.tls.domains[1].main=huber-putz.com"
- "traefik.http.routers.huber-putz-secure.tls.domains[1].sans=*.huber-putz.com"
- "traefik.http.routers.huber-putz-secure.service=huber-putz-secure"
- "traefik.http.services.huber-putz-secure.loadbalancer.server.port=80"