chore: integrate local imgproxy sidecar and unify list components
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 36s
Build & Deploy / 🧪 QA (push) Successful in 4m2s
Build & Deploy / 🏗️ Build (push) Successful in 10m53s
Build & Deploy / 🚀 Deploy (push) Successful in 27s
Build & Deploy / 🩺 Health Check (push) Failing after 11s
Build & Deploy / 🔔 Notify (push) Successful in 2s

- Added imgproxy service to docker-compose.dev.yml with URL mapping
- Implemented robust Base64 encoding for imgproxy source URLs
- Synchronized NEXT_PUBLIC_IMGPROXY_URL and NEXT_PUBLIC_BASE_URL
- Refactored About page to use existing marc-mintel.png asset
- Created shared IconList component and unified list styles project-wide
- Fixed vertical alignment issues in IconList items
- Updated dev script with aggressive port 3000 and lock file cleanup
This commit is contained in:
2026-02-13 22:03:35 +01:00
parent 43b96bb84b
commit 7c774f65bc
11 changed files with 409 additions and 103 deletions

View File

@@ -21,7 +21,6 @@ services:
gatekeeper:
profiles: ["gatekeeper"]
image: registry.infra.mintel.me/mintel/gatekeeper:v1.7.12
container_name: ${PROJECT_NAME:-mintel-me}-gatekeeper
restart: always
networks:
infra:
@@ -80,6 +79,28 @@ services:
volumes:
- directus-db-data:/var/lib/postgresql/data
imgproxy:
image: darthsim/imgproxy:latest
restart: always
networks:
- default
- infra
extra_hosts:
- "mintel.localhost:host-gateway"
- "cms.mintel.localhost:host-gateway"
- "host.docker.internal:host-gateway"
environment:
IMGPROXY_USE_ETAG: "true"
IMGPROXY_MAX_SRC_RESOLUTION: 20
IMGPROXY_ALLOWED_NETWORKS: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
IMGPROXY_URL_MAPPING: "http://mintel.localhost/:http://app:3000/,http://cms.mintel.localhost/:http://directus:8055/"
labels:
- "traefik.enable=true"
- 'traefik.http.routers.${PROJECT_NAME:-mintel-me}-imgproxy.rule=Host("${IMGPROXY_HOST:-img.mintel.localhost}")'
- "traefik.http.routers.${PROJECT_NAME:-mintel-me}-imgproxy.entrypoints=web"
- "traefik.http.services.${PROJECT_NAME:-mintel-me}-imgproxy.loadbalancer.server.port=8080"
- "traefik.docker.network=infra"
networks:
default:
name: ${PROJECT_NAME:-mintel-me}-internal