Files
mb-grid-solutions.com/docker-compose.yaml
Marc Mintel d1c26efea8
All checks were successful
Build & Deploy / deploy (push) Successful in 30s
deploy
2026-01-21 12:54:00 +01:00

25 lines
839 B
YAML

services:
app:
image: registry.infra.mintel.me/mintel/mb-grid-solutions:latest
restart: always
expose:
- "3000"
labels:
- "traefik.enable=true"
- "traefik.http.routers.mb-grid-solutions.rule=Host(`mb-grid-solutions.com`) || Host(`www.mb-grid-solutions.com`)"
- "traefik.http.routers.mb-grid-solutions.entrypoints=websecure"
- "traefik.http.routers.mb-grid-solutions.tls.certresolver=le"
- "traefik.http.services.mb-grid-solutions.loadbalancer.server.port=3000"
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:3000/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"]
interval: 5s
timeout: 2s
retries: 10
deploy:
replicas: 2
networks:
- infra
networks:
infra:
external: true