Skip to content

Self-Hosting on Railway

Sayr is composed of several services that work together. To host it on Railway, you will need to deploy the application containers and provision the required databases.

  1. PostgreSQL: Primary database.
  2. Redis: Used for queues and caching.
  3. S3-compatible Storage: For file uploads (e.g., MinIO, AWS S3, R2).

The following Docker images need to be deployed.

  • ghcr.io/dorasto/sayr-backend: The core API server.
  • ghcr.io/dorasto/sayr-start: The frontend application.
  • ghcr.io/dorasto/sayr-worker: Handles background jobs (like GitHub sync).
  • ghcr.io/dorasto/sayr-traefik: Reverse proxy and SSL termination.

You will need to configure following environment variables across your services. These will be automatically populated by Railway. Not all of them are required, such as S3 configurations & Doras/GitHub credentials.

coming soon