Platform-v2 step 2.1 (APPS_PLATFORM D-15):
- root package.json with workspaces (packages/*, waiter_pwa, manager_dashboard)
and empty @xenia/{ui,i18n,api,access} skeletons (filled in 2.3-2.5)
- one root package-lock.json generated from the two old app locks, so every
dependency keeps its exact version (a fresh resolve moved the Capacitor and
Capgo native plugins and broke UI-bundle updates); apps keep nested trees
- waiter/manager Dockerfiles build with context client-services/ (npm ci per
workspace), root .dockerignore replaces the per-app ones; manager on node 22
- Vite dedupes react/react-dom so source-imported packages share the app's React
- waiter eslint ignores build outputs and the Android project
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
756 B
YAML
29 lines
756 B
YAML
services:
|
|
backend:
|
|
build: ./local_backend
|
|
image: ${REGISTRY}/pos-backend:${VERSION:-latest}
|
|
environment:
|
|
- LICENSE_MODE=off # dev machine: every module, no limits (never on a site)
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ${FISCAL_PATH:-./fiscal_test}:/mnt/fiscal
|
|
|
|
waiter_pwa:
|
|
build:
|
|
context: . # npm workspace root (packages/ are shared)
|
|
dockerfile: waiter_pwa/Dockerfile
|
|
args:
|
|
APP_VERSION: ${VERSION:-dev}
|
|
image: ${REGISTRY}/pos-waiter:${VERSION:-latest}
|
|
ports:
|
|
- "5173:80"
|
|
|
|
manager_dashboard:
|
|
build:
|
|
context: .
|
|
dockerfile: manager_dashboard/Dockerfile
|
|
image: ${REGISTRY}/pos-manager:${VERSION:-latest}
|
|
ports:
|
|
- "5174:80"
|