OWC

Deployment

Railway start command

Use Procfile entry:

Railway environment variables

Use the canonical docs instead of duplicating variable lists here:

For production, keep the same variable names and update only environment-specific values (for example ENVIRONMENT, FRONTEND_URL, API_BASE_URL, CORS_ORIGINS, and production secrets).

Notes:

Startup behavior

  1. scripts/apply_migrations.py runs schema migrations.
  2. uvicorn starts main:app with PORT env var fallback.

Docker

Dockerfile installs dependencies and starts via start_with_migrations.sh.

Post-deploy smoke test

python scripts/smoke_test.py –base-url https://