- vite: alias @vue-flow/core and uplot to detection-app's node_modules so they resolve when imported through the symlinked soleprint-ui framework (Vite follows the symlink and would otherwise look up from ui/framework/, where node_modules doesn't exist) - kind-config.yaml.tpl: match the new port layout (gateway on 30080 via 127.0.0.1, redis on 6382), avoiding port-80 conflict with Caddy; keeps the extraMount for /mnt/media so MinIO can seed from host
MPR Control
Scripts for running and deploying MPR.
Setup
-
Add to
/etc/hosts:127.0.0.1 mpr.local.ar -
Copy environment template:
cp ctrl/.env.template ctrl/.env -
Start the stack:
./ctrl/run.sh
URLs
- http://mpr.local.ar/admin - Django Admin
- http://mpr.local.ar/api/docs - FastAPI Swagger
- http://mpr.local.ar/ui - Timeline UI
Commands
# Start all services
./ctrl/run.sh
# Start in detached mode
./ctrl/run.sh -d
# Rebuild and start
./ctrl/run.sh --build
# Stop all
./ctrl/run.sh down
# View logs
./ctrl/run.sh logs -f
# Deploy to remote (configure SERVER/REMOTE_PATH in .env)
./ctrl/deploy.sh
./ctrl/deploy.sh --restart
./ctrl/deploy.sh --dry-run
Ports
| Service | Internal | External |
|---|---|---|
| nginx | 80 | 80 |
| Django | 8701 | 8701 |
| FastAPI | 8702 | 8702 |
| Timeline | 5173 | 5173 |
| PostgreSQL | 5432 | 5433 |
| Redis | 6379 | 6380 |