Files
production-infra/huber-putz/docker-compose.yaml

26 lines
1.0 KiB
YAML

networks:
proxy:
external: true
services:
huber-putz:
image: cs-git.ddnss.de/huber/stuck-web
container_name: huber-putz
hostname: huber-putz
restart: always
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=cs"
- "traefik.http.routers.huber-putz-secure.service=huber-putz-secure"
- "traefik.http.services.huber-putz-secure.loadbalancer.server.port=8080"