Skip to main content

Deployment

Moveat currently runs on a DigitalOcean droplet using Docker Compose.

Production stack

The production stack includes:
  • Caddy for HTTPS and reverse proxy.
  • Platform for business APIs.
  • Agent for WhatsApp and LLM orchestration.
  • PostgreSQL for product data.
  • Redis for short-lived state and cache.
  • Grafana for dashboards.
  • Loki for logs.
  • Alloy for log collection.
  • Komodo for container management.

Domains

DomainService
api.mov-eat.appPlatform.
agent.mov-eat.appAgent.
grafana.mov-eat.appGrafana.
cloudwatch.mov-eat.appKomodo.
docs.mov-eat.appDocumentation.

Deployment model

Platform and Agent are deployed from their repositories. Infra defines the runtime composition. A typical deploy updates code, rebuilds containers and restarts affected services.

Migrations

Platform database migrations must run before relying on code that expects new schema changes. Recommended order:
  1. Pull latest platform and infra changes.
  2. Run Platform migrations.
  3. Rebuild Platform.
  4. Restart Platform.
  5. Restart Agent if its environment or integration contract changed.

Rollback principle

Because Platform owns schema and business data, rollback should consider both code and database compatibility. Avoid deploying code that requires migrations without running those migrations first.