# DEV override: build the images locally from the Dockerfiles, expose both ports, run the # stub recognizer (no model load), and verbose logging. Use with the base file: # docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build services: server: build: context: . dockerfile: apps/server/Dockerfile environment: LOG_LEVEL: debug # Dev convenience: seed an admin on first boot (set ADMIN_PASS to enable). SEED_ADMIN: ${SEED_ADMIN:-0} ADMIN_USER: ${ADMIN_USER:-admin} ADMIN_PASS: ${ADMIN_PASS:-} # 32+ chars and must NOT contain dev-only/insecure/change-me (auth.ts rejects those). # This is a fixed LOCAL-DEV value only; prod injects a real `openssl rand -hex 32`. JWT_SECRET: ${JWT_SECRET:-localdevsecret0123456789abcdef0123} ports: - "3000:3000" vision: build: context: apps/vision dockerfile: Dockerfile environment: VISION_RECOGNIZER: stub ports: - "8089:8089"