Includes: LoginPage (PIN pad), DashboardPage (30s polling table grid), OrderDetailPage (full actions), ProductsPage (CRUD + printer zone), WaitersPage (block/reset PIN/delete), TablesPage, ReportsPage (shift summary + order history + CSV export), SettingsPage (printers + test print + sysadmin lock/unlock). TailwindCSS, React Query, react-hot-toast. Docker Compose service on port 5174.
43 lines
1008 B
YAML
43 lines
1008 B
YAML
services:
|
|
backend:
|
|
build: ./local_backend
|
|
ports:
|
|
- "8000:8000"
|
|
restart: unless-stopped
|
|
env_file:
|
|
- ./local_backend/.env
|
|
volumes:
|
|
- ./local_backend/pos.db:/app/pos.db
|
|
- ./local_backend/license_state.json:/app/license_state.json
|
|
- ./logo.png:/app/logo.png:ro
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
waiter_pwa:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
volumes:
|
|
- ./waiter_pwa:/app
|
|
ports:
|
|
- "5173:5173"
|
|
command: sh -c "npm install --legacy-peer-deps && npm run dev -- --host 0.0.0.0"
|
|
env_file:
|
|
- ./waiter_pwa/.env
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|
|
|
|
manager_dashboard:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
volumes:
|
|
- ./manager_dashboard:/app
|
|
ports:
|
|
- "5174:5174"
|
|
command: sh -c "npm install && npm run dev -- --host 0.0.0.0"
|
|
env_file:
|
|
- ./manager_dashboard/.env
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|