Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 8s
Build & Deploy KLZ Cables / 🏗️ Build App (push) Successful in 6m36s
Build & Deploy KLZ Cables / 🏗️ Build Gatekeeper (push) Successful in 23s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 11m59s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Successful in 43s
Build & Deploy KLZ Cables / ⚡ PageSpeed (push) Failing after 7m22s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
services:
|
|
app:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
command: sh -c "npm install && npx next dev"
|
|
volumes:
|
|
- .:/app
|
|
environment:
|
|
NODE_ENV: development
|
|
# Docker Internal Communication
|
|
DIRECTUS_URL: http://directus:8055
|
|
ports:
|
|
- "3000:3000"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
# Clear all production-related TLS/Middleware settings for the main routers
|
|
- "traefik.http.routers.klz-cables.entrypoints=web"
|
|
- "traefik.http.routers.klz-cables.rule=Host(`klz.localhost`)"
|
|
- "traefik.http.routers.klz-cables.tls=false"
|
|
- "traefik.http.routers.klz-cables.middlewares="
|
|
|
|
- "traefik.http.routers.klz-cables-web.entrypoints=web"
|
|
- "traefik.http.routers.klz-cables-web.rule=Host(`klz.localhost`)"
|
|
- "traefik.http.routers.klz-cables-web.middlewares="
|
|
|
|
directus:
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.klz-cables-directus.entrypoints=web"
|
|
- "traefik.http.routers.klz-cables-directus.rule=Host(`cms.klz.localhost`)"
|
|
- "traefik.http.routers.klz-cables-directus.tls=false"
|
|
- "traefik.http.routers.klz-cables-directus.middlewares="
|
|
ports:
|
|
- "8055:8055"
|
|
environment:
|
|
PUBLIC_URL: http://cms.klz.localhost
|