chore: align dev environment with klz-2026 and cleanup package.json
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 12s
Build & Deploy / 🏗️ Build (push) Failing after 31s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-02-13 01:30:10 +01:00
parent 99e392ce08
commit dbd43eb76c
4 changed files with 25 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
services:
app:
image: registry.infra.mintel.me/mintel/mintel.me:${IMAGE_TAG:-latest}
build: .
restart: always
networks:
- default
@@ -10,11 +11,11 @@ services:
labels:
- "traefik.enable=true"
# HTTP ⇒ HTTPS redirect
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-web.rule=${TRAEFIK_RULE:-Host(`${TRAEFIK_HOST:-mintel.me.localhost}`)}"
- 'traefik.http.routers.${PROJECT_NAME:-mintel-me}-web.rule=${TRAEFIK_HOST_RULE:-Host("mintel.localhost")}'
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-web.entrypoints=web"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-web.middlewares=redirect-https"
# HTTPS router (Standard)
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}.rule=${TRAEFIK_RULE:-Host(`${TRAEFIK_HOST:-mintel.me.localhost}`)}"
- 'traefik.http.routers.${PROJECT_NAME:-mintel-me}.rule=${TRAEFIK_HOST_RULE:-Host("mintel.localhost")}'
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}.entrypoints=websecure"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}.tls.certresolver=le"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}.tls=true"
@@ -24,7 +25,7 @@ services:
- "traefik.docker.network=infra"
# Gatekeeper Router (Path-based)
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-gatekeeper.rule=(Host(`${TRAEFIK_HOST:-mintel.me}`) && PathPrefix(`/gatekeeper`))"
- 'traefik.http.routers.${PROJECT_NAME:-mintel-me}-gatekeeper.rule=(Host("${TRAEFIK_HOST:-mintel.localhost}") && PathPrefix("/gatekeeper"))'
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-gatekeeper.entrypoints=websecure"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-gatekeeper.tls.certresolver=le"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-gatekeeper.tls=true"
@@ -54,7 +55,7 @@ services:
PORT: 3000
PROJECT_NAME: ${PROJECT_NAME:-Mintel.me}
PROJECT_COLOR: ${PROJECT_COLOR:-#ff00ff}
COOKIE_DOMAIN: ${COOKIE_DOMAIN:-.mintel.me}
COOKIE_DOMAIN: ${COOKIE_DOMAIN:-localhost}
AUTH_COOKIE_NAME: ${AUTH_COOKIE_NAME:-mintel_gatekeeper_session}
GATEKEEPER_PASSWORD: ${GATEKEEPER_PASSWORD:-mintel}
NEXT_PUBLIC_BASE_URL: ${GATEKEEPER_ORIGIN}
@@ -105,7 +106,7 @@ services:
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-directus.rule=Host(`${DIRECTUS_HOST:-cms.mintel.me.localhost}`)"
- 'traefik.http.routers.${PROJECT_NAME:-mintel-me}-directus.rule=Host("${DIRECTUS_HOST:-cms.mintel.localhost}")'
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-directus.entrypoints=websecure"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-directus.tls.certresolver=le"
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-directus.tls=true"