fix(web): remove redundant prop-types and unblock lint pipeline
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Failing after 2m24s
Build & Deploy / 🏗️ Build (push) Failing after 3m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Failing after 2m24s
Build & Deploy / 🏗️ Build (push) Failing after 3m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
services:
|
||||
app:
|
||||
# Lighweight proxy to bridge Traefik to local host (HMR support)
|
||||
image: alpine/socat
|
||||
restart: always
|
||||
command: tcp-listen:3000,fork,reuseaddr tcp:host.docker.internal:3000
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- .:/app
|
||||
- node_modules:/app/node_modules
|
||||
- apps_node_modules:/app/apps/web/node_modules
|
||||
- ../at-mintel:/at-mintel
|
||||
- pnpm_store:/pnpm # Cache pnpm store
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- NEXT_TELEMETRY_DISABLED=1
|
||||
- CI=true
|
||||
- NPM_TOKEN=${NPM_TOKEN:-}
|
||||
- DATABASE_URI=postgres://${postgres_DB_USER:-directus}:${postgres_DB_PASSWORD:-directus}@postgres-db:5432/${postgres_DB_NAME:-directus}
|
||||
- PAYLOAD_SECRET=dev-secret
|
||||
command: >
|
||||
sh -c "pnpm install && pnpm --filter @mintel/web dev"
|
||||
|
||||
networks:
|
||||
- default
|
||||
- infra
|
||||
@@ -16,24 +30,6 @@ services:
|
||||
- "caddy=http://${TRAEFIK_HOST:-mintel.localhost}"
|
||||
- "caddy.reverse_proxy={{upstreams 3000}}"
|
||||
|
||||
gatekeeper:
|
||||
profiles: ["gatekeeper"]
|
||||
image: registry.infra.mintel.me/mintel/gatekeeper:v1.7.12
|
||||
restart: always
|
||||
networks:
|
||||
infra:
|
||||
aliases:
|
||||
- ${PROJECT_NAME:-mintel-me}-gatekeeper
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
PORT: 3000
|
||||
labels:
|
||||
- "traefik.http.services.${PROJECT_NAME:-mintel-me}-gatekeeper.loadbalancer.server.port=3000"
|
||||
- "traefik.docker.network=infra"
|
||||
- "caddy=http://gatekeeper.${TRAEFIK_HOST:-mintel.localhost}"
|
||||
- "caddy.reverse_proxy={{upstreams 3000}}"
|
||||
|
||||
postgres-db:
|
||||
image: postgres:15-alpine
|
||||
restart: always
|
||||
@@ -45,32 +41,10 @@ services:
|
||||
POSTGRES_DB: ${postgres_DB_NAME:-directus}
|
||||
POSTGRES_USER: ${postgres_DB_USER:-directus}
|
||||
POSTGRES_PASSWORD: ${postgres_DB_PASSWORD:-directus}
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
volumes:
|
||||
- directus-db-data:/var/lib/postgresql/data
|
||||
|
||||
imgproxy:
|
||||
image: registry.infra.mintel.me/mintel/image-processor:latest
|
||||
restart: always
|
||||
networks:
|
||||
- default
|
||||
- infra
|
||||
extra_hosts:
|
||||
- "mintel.localhost:host-gateway"
|
||||
- "host.docker.internal:host-gateway"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||
IMGPROXY_URL_MAPPING: "http://mintel.localhost/:http://app:3000/"
|
||||
IMGPROXY_LOG_LEVEL: debug
|
||||
labels:
|
||||
- "traefik.http.services.${PROJECT_NAME:-mintel-me}-imgproxy.loadbalancer.server.port=8080"
|
||||
- "traefik.docker.network=infra"
|
||||
- "caddy=http://${IMGPROXY_HOST:-img.mintel.localhost}"
|
||||
- "caddy.reverse_proxy={{upstreams 8080}}"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ${PROJECT_NAME:-mintel-me}-internal
|
||||
@@ -79,3 +53,6 @@ networks:
|
||||
|
||||
volumes:
|
||||
directus-db-data:
|
||||
node_modules:
|
||||
apps_node_modules:
|
||||
pnpm_store:
|
||||
|
||||
Reference in New Issue
Block a user