Ragnarock
Developer

Deployment

Staging Docker stack and production considerations.

Staging compose (all services)

File: ragnarock-backend/docker/staging/docker-compose.yml

cd ragnarock-backend
make staging-up-d
ServicePortImage
main8000Dockerfile.main
admin3001Dockerfile.admin
agent8100Dockerfile.agent
nginx80Reverse proxy
Postgres, Redis, Typesense, Mailpit(internal)Shared infra

The agent image builds from agent/ inside the backend repository (same source as ragnarock-agent).

Production checklist

Nginx / local hostnames

Development nginx configs map main.localhost, app.localhost, mailpit.localhost. Production replaces this with real DNS and TLS certificates.

Health checks

EndpointExpect
GET / (API)200
GET /health (agent)200
Postgres / RedisDocker healthchecks in compose

Observability

  • Winston logging in NestJS (libs/logger)
  • Linear sync runs and activity feed for user-visible audit
  • Mailpit only for development — configure real SMTP (Brevo, etc.) in production via libs/mailer

On this page