Files
mediaproc/ctrl
..
2026-02-03 14:18:03 -03:00
2026-02-03 12:20:40 -03:00
2026-02-04 09:53:48 -03:00
2026-02-03 12:20:40 -03:00
2026-02-04 09:53:48 -03:00
2026-02-04 09:53:48 -03:00
2026-02-03 12:20:40 -03:00
2026-02-03 14:18:03 -03:00
2026-02-03 14:18:03 -03:00

MPR Control

Scripts for running and deploying MPR.

Setup

  1. Add to /etc/hosts:

    127.0.0.1 mpr.local.ar
    
  2. Copy environment template:

    cp ctrl/.env.template ctrl/.env
    
  3. Start the stack:

    ./ctrl/run.sh
    

URLs

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