Files
klz-cables.com/docker-compose.override.yml
2026-01-31 23:52:51 +01:00

26 lines
838 B
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
labels:
- "traefik.enable=true"
- "traefik.http.routers.klz-app-local.rule=Host(`klz.localhost`)"
- "traefik.http.routers.klz-app-local.entrypoints=web"
- "traefik.http.routers.klz-app-local.service=klz-cables"
directus:
labels:
- "traefik.enable=true"
- "traefik.http.routers.klz-directus-local.rule=Host(`cms.klz.localhost`)"
- "traefik.http.routers.klz-directus-local.entrypoints=web"
- "traefik.http.routers.klz-directus-local.service=klz-directus"
environment:
PUBLIC_URL: http://cms.klz.localhost