Files
wifi-densepose/examples/edge-net/dashboard/docker-compose.yml
ruv d803bfe2b1 Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector
git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
2026-02-28 14:39:40 -05:00

34 lines
690 B
YAML

version: '3.8'
services:
dashboard:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s
environment:
- NODE_ENV=production
# Development mode
dashboard-dev:
image: node:20-alpine
working_dir: /app
volumes:
- .:/app
- /app/node_modules
ports:
- "3000:3000"
command: sh -c "npm install && npm run dev -- --host"
environment:
- NODE_ENV=development
profiles:
- dev