Railway

Deploy Convoy

Webhook gateway for managing incoming and outgoing webhooks

Deploy Convoy

Just deployed

/var/lib/postgresql/data

Just deployed

Just deployed

Just deployed

/data

Deploy and Host Convoy on Railway

Convoy is an open-source webhook gateway for receiving, routing, retrying, and observing webhook deliveries. This template deploys Convoy on Railway with a split control plane, agent/data plane, managed PostgreSQL, managed Redis, and a Caddy gateway that routes public traffic to the correct internal service.

About Hosting Convoy

Hosting Convoy requires more than a single HTTP service. The control plane serves the dashboard, management API, portal management, and background scheduling, while the agent handles ingestion and portal event delivery routes. PostgreSQL stores application state, and Redis backs queues and runtime coordination. This template keeps those responsibilities separated while exposing Convoy through one public Railway domain. Convoy migrations run before the server starts, and internal service-to-service traffic uses Railway private networking.

Common Use Cases

  • Centralized webhook delivery infrastructure for SaaS products.
  • Reliable webhook retries, observability, and endpoint management.
  • Customer-facing webhook portals and event delivery tracking.
  • Internal event fan-out from one source to many consumers.
  • Self-hosted webhook processing with managed database and cache services.

Dependencies for Convoy Hosting

  • Convoy Server for the dashboard, management API, and control plane.
  • Convoy Agent for ingestion and data-plane routes.
  • PostgreSQL for Convoy application data.
  • Redis for queues and runtime state.
  • Caddy as the public HTTP gateway and path router.

Deployment Dependencies

How This Template Works

The gateway exposes a single public Railway domain. It routes /ingest/, /portal-api/events, and /portal-api/eventdeliveries* to Convoy Agent, while all other traffic is routed to Convoy Server.

Convoy Server applies database migrations before starting, so the control plane is ready when the service receives traffic.

After the first deploy, Convoy creates a default superuser with these credentials:

  • Email: superuser@default.com
  • Password: default

Change the default password immediately after logging in. If your deployment should be invite-only, disable public signup after the initial setup.

Convoy does not provide standard bootstrap environment variables for setting the initial GUI superuser email/password before first login, so rotate credentials right away after accessing the dashboard.

Quick Start

  1. Deploy this template on Railway.
  2. Wait until all services are healthy (Convoy Server, Convoy Agent, Convoy Gateway, Postgres, Redis).
  3. Open the public domain assigned to Convoy Gateway.
  4. Log in with the initial superuser credentials (superuser@default.com / default) and rotate the default password.
  5. Optionally disable public signup if you want invite-only access.

Post-Deploy Configuration

  • Verify CONVOY_HOST points to the Convoy Gateway public domain.
  • Keep only Convoy Gateway public; other services should stay private.
  • Ensure PostgreSQL and Redis stay attached as managed services.
  • Scale Convoy Server and Convoy Agent independently based on dashboard/API vs ingest traffic.

Why Deploy Convoy on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Convoy on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
NEW
Evolution API with n8n
WhatsApp HTTP REST API with n8n automation, PostgreSQL and Redis.

codestorm
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates