Railway

Deploy Chatwoot - All In One (PGVector)

Template for Chatwoot with WhatsApp, Email and Automation

Deploy Chatwoot - All In One (PGVector)

/app/storage

Just deployed

/bitnami

Just deployed

/var/lib/postgresql/data

Deploy and Host Chatwoot - All In One (PGVector) on Railway

Chatwoot is an open-source, self-hosted customer engagement suite. This "All In One" template provides a simplified, modern deployment of Chatwoot that comes pre-configured with PGVector support. It is designed to be the easiest way to get the latest version of Chatwoot running with full support for AI features and vector embeddings right out of the box.

About Hosting Chatwoot - All In One (PGVector)

Hosting this version of Chatwoot on Railway streamlines the typical microservices complexity into a cohesive "All In One" stack. Unlike standard installations that require complex orchestration, this template optimizes the setup by pre-configuring the necessary environment for Rails, Sidekiq, and the database.

Crucially, it provisions a PostgreSQL database with the pgvector extension enabled. This is a requirement for Chatwoot's newer AI capabilities, such as automated responses and conversation summaries, which rely on vector embeddings. This setup handles the web server, background workers, and data persistence seamlessly.

Common Use Cases

  • Omnichannel Support: Centralize conversations from WhatsApp, Email, Website, and Telegram in a single dashboard.
  • AI-Powered Agents: Leverage the included PGVector support to run advanced AI chatbots and agent assistants that require vector databases.
  • Unified Team Inbox: Manage customer support teams with features like assignment rules, private notes, and canned responses.

Dependencies for Chatwoot - All In One (PGVector) Hosting

  • PostgreSQL (with pgvector): A postgres instance with the vector extension installed (handled automatically by this template).
  • Redis: Used for caching and background job processing.
  • SMTP Server: (Optional but recommended) For sending email notifications to agents and customers.
  • Object Storage (S3/MinIO): (Optional) For storing attachments and avatars persistently.

Deployment Dependencies

  • SMTP Service: You will need an external SMTP provider (like Resend, SendGrid, or Mailgun) if you wish to enable email notifications.
  • OpenAI API Key (Optional): To fully utilize the PGVector capabilities for AI features, you will need an API key from OpenAI.

Implementation Details

This template utilizes the "All In One" strategy to reduce resource overhead while maintaining high performance. It explicitly configures the PostgreSQL service to include the vector extension, ensuring compatibility with Chatwoot's conversation_embeddings features.

Why Deploy Chatwoot - All In One (PGVector) 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 Chatwoot - All In One (PGVector) 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
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser
View Template
peppermint
Docker-compose port for peppermint.sh

HamiltonAI