Files
production-infra/huber-putz/docker-compose.yaml
2022-10-04 06:35:24 +02:00

31 lines
1.4 KiB
YAML

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`, `www.huber-stuck.de`, `huber-putz.com`, `www.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`, `www.huber-stuck.de`, `huber-putz.com`, `www.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=8080"