Files
klz-cables.com/docker-compose.yml
2026-01-17 15:44:22 +01:00

23 lines
694 B
YAML

services:
app:
image: registry.infra.mintel.me/mintel/klz-cables:latest
restart: always
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.klz-cables.rule=Host(klz-cables.com,www.klz-cables.com)"
- "traefik.http.routers.klz-cables.entrypoints=websecure"
- "traefik.http.routers.klz-cables.tls.certresolver=le"
- "traefik.http.services.klz-cables.loadbalancer.server.port=3000"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
networks:
traefik:
external: true