Chatwoot hosting

Open-source customer support and live chat platform. Deploy to a dedicated VPS in seconds — database auto-created, SSL installed, firewall locked down from the first boot.

Latest

Versions

PostgreSQL

Database

Ruby

Category

SSL included
Firewall locked
DB auto-created
Live in minutes
Overview

What is Chatwoot?

Chatwoot is an open-source customer engagement and customer support platform built with Ruby on Rails. It provides shared team inboxes, live chat, customer conversations, contact management, automation and integrations for businesses that want to manage customer communication from a single platform.

Unlike a simple website or PHP application, Chatwoot depends on several services working together. The Rails application handles web requests and business logic, PostgreSQL stores application data, Redis supports caching and background processing, and background workers process jobs such as notifications, automation and other asynchronous tasks.

Self-hosting Chatwoot gives you control over the server, database, application configuration and stored customer conversation data. You can deploy it on your own VPS and connect a custom domain instead of depending entirely on a hosted customer-support service.

SharkCluster prepares the server environment around those requirements. Your Chatwoot installation can run with a production web server, Ruby application processes, PostgreSQL, Redis, background workers, HTTPS and the server resources required for your expected conversation and user workload.

Quick facts

Version
Latest
Database
PostgreSQL
Category
Ruby
  • SSL included
  • Firewall locked
  • DB auto-created
  • Live in minutes
Why SharkCluster

Why Chatwoot on SharkCluster?

Ruby on Rails ready

Chatwoot runs on Ruby on Rails and requires a properly configured Ruby application environment for production workloads.

PostgreSQL database

PostgreSQL stores contacts, conversations, users, accounts, messages, configuration and other Chatwoot application data.

Redis support

Redis provides fast in-memory storage and supports background processing and other application workloads required by Chatwoot.

Background workers

Chatwoot uses background processing for asynchronous tasks such as notifications, automation and other jobs that should not block web requests.

Real-time communication

Chatwoot depends on real-time application behavior for conversations and agent updates, so the production server should be configured to support persistent application communication correctly.

Your own VPS

Self-host Chatwoot on dedicated VPS resources instead of sharing the application environment with unrelated hosted services.

Custom domain

Connect your own domain or subdomain to provide a branded customer-support interface and live-chat experience.

Developer-friendly access

Developers can use SSH and standard Ruby, Rails, PostgreSQL and Redis administration tools while SharkCluster handles common server-management tasks.

Features

What you get with Chatwoot

  • Chatwoot deployment on a dedicated VPS

  • Ruby and Rails application environment

  • PostgreSQL database support

  • Redis support for caching and background jobs

  • Background worker configuration

  • Production web-server configuration

  • Custom domain and subdomain support

  • Free Let's Encrypt SSL certificate

  • Environment variable configuration

  • SSH access for application management

  • Application log access

  • PostgreSQL database management

  • Redis service management

  • Cron and scheduled task support where required

  • Firewall and server-level security controls

  • Application and database backup support where enabled

  • Production and staging deployment workflows

Use cases

What Chatwoot is built for

Customer support teams

Create a shared workspace where support agents can manage customer conversations and respond from a centralized inbox.

Live chat

Add live chat capabilities to websites and applications so visitors can communicate directly with support or sales teams.

SaaS support

Use Chatwoot as the customer-support layer for SaaS applications and manage conversations across customer accounts.

Sales conversations

Manage incoming customer questions, leads and sales conversations from a centralized team inbox.

Multi-channel communication

Bring supported customer communication channels into a centralized Chatwoot workspace for team-based management.

Self-hosted support platform

Host your customer-support infrastructure on your own VPS when you need greater control over application hosting and data.

Internal support operations

Deploy Chatwoot for internal service desks, customer-success teams and support operations that require collaborative conversation management.

System requirements

Server specs for
Chatwoot

Not sure which plan to pick? The panel warns you before you deploy so you can choose the right size the first time.

  • Minimum specs shown before deploy
  • Panel blocks deploy if server is undersized
  • Upgrade path available inside the panel
Application
Chatwoot with a production Ruby on Rails environment.
Ruby
Ruby version supported by the selected Chatwoot release.
Database
PostgreSQL version supported by the selected Chatwoot release.
Cache / Jobs
Redis required for caching and background jobs.
Web server
nginx recommended as a reverse proxy.
Node.js
Node.js version required by the selected Chatwoot release.
Package manager
Bundler and dependency tools required by the Chatwoot release.
Memory
4 GB RAM minimum; 8 GB+ recommended for production.
CPU
2–4 vCPU minimum; 4+ vCPU recommended for production.
Storage
40 GB+ SSD recommended for application data, database, logs and attachments.
Architecture

How Chatwoot fits together

1

Domain

Your domain or subdomain points to the SharkCluster server using DNS.

2

Web server

The production web server receives HTTPS traffic and forwards application requests to the Chatwoot application processes.

3

Chatwoot / Rails

The Ruby on Rails application handles authentication, accounts, contacts, conversations, messages, settings and other Chatwoot application logic.

4

PostgreSQL

PostgreSQL stores Chatwoot application data including users, accounts, contacts, conversations, messages and configuration.

5

Redis

Redis provides fast in-memory storage and supports caching and background job processing.

6

Background workers

Worker processes handle asynchronous jobs such as notifications, automation, message processing and other tasks that should run outside the main web request.

7

Real-time layer

Chatwoot uses its application real-time capabilities to keep conversations and agent interfaces synchronized as new messages and events arrive.

8

File storage

Conversation attachments and application uploads require appropriate storage configuration and sufficient disk capacity or external object storage where configured.

Get started

After your Chatwoot deploy

  1. 1

    Choose your server

    Select a VPS with enough CPU, RAM and SSD storage for the number of agents, conversations, attachments and background jobs expected from your Chatwoot installation.

  2. 2

    Add your domain

    Point your domain or subdomain to the VPS and add it through the Domains section. Once DNS is ready, enable HTTPS with Let's Encrypt.

  3. 3

    Prepare Chatwoot

    Use the Applications section to deploy Chatwoot and prepare the required Ruby, PostgreSQL, Redis and supporting services.

  4. 4

    Configure PostgreSQL

    Create or configure the PostgreSQL database and database credentials required by Chatwoot.

  5. 5

    Configure Redis

    Connect Chatwoot to the Redis service used for caching and background job processing.

  6. 6

    Configure environment settings

    Set the application URL, database connection, Redis connection, secret keys, mail settings, storage configuration and other environment-specific values required by the deployment.

  7. 7

    Start background workers

    Configure the required Chatwoot worker processes so asynchronous jobs continue running independently from web requests.

  8. 8

    Configure email

    Configure SMTP or another supported transactional email provider for account notifications, conversation notifications and other application emails.

  9. 9

    Test the installation

    Test login, agent access, inboxes, live chat, customer conversations, attachments, notifications, background jobs and email delivery before using the installation in production.

Deployment

Ship Chatwoot your way

Application deployment

Deploy Chatwoot using the supported self-hosting workflow for the selected release and prepare the required application dependencies.

Database setup

Create the PostgreSQL database and user, configure the connection settings and run the required Chatwoot database migrations.

Redis setup

Configure Redis and verify that Chatwoot can communicate with it for caching and background processing.

Asset compilation

Install the required JavaScript dependencies and compile application assets when required by the Chatwoot release.

Background workers

Configure worker processes through the server's process-management system so asynchronous jobs continue running after SSH sessions end.

Reverse proxy

Configure nginx or another production reverse proxy to forward HTTPS requests to the Chatwoot application.

Production environment

Configure production environment variables, application secrets, database access, Redis access, email delivery and storage before exposing Chatwoot publicly.

Performance

Keeping Chatwoot fast

Allocate enough RAM

Chatwoot, PostgreSQL, Redis, Ruby application processes and background workers all consume memory. Size the VPS based on the complete workload rather than application files alone.

Separate web and worker capacity

Web processes handle user requests while background workers process asynchronous jobs. Monitor both workloads and adjust process counts based on available CPU and RAM.

Monitor PostgreSQL

Conversation and customer data can grow significantly over time. Monitor PostgreSQL CPU, memory, disk usage, connections and database growth.

Monitor Redis

Redis is important for application responsiveness and background processing. Monitor memory consumption and service health.

Keep background jobs healthy

A worker that is stopped or overloaded can cause notifications, automation or other asynchronous operations to become delayed.

Monitor disk usage

PostgreSQL data, attachments, application logs and backups can consume disk space over time. Keep sufficient free storage available.

Use external object storage when appropriate

For deployments with significant attachment storage, external object storage can reduce pressure on the VPS disk when supported and configured for the deployment.

Monitor application logs

Review Rails, worker, PostgreSQL and web-server logs to identify slow requests, failed jobs, database problems and configuration issues.

Deployment checklist

Before you go live

  • Domain DNS points to the VPS

  • HTTPS certificate is active

  • Chatwoot production environment is configured

  • Supported Ruby version is installed

  • PostgreSQL is running and accessible

  • Chatwoot database and database user are configured

  • Required database migrations have been applied

  • Redis is running and accessible

  • Background workers are running

  • Application process is running

  • Reverse proxy is configured

  • Application URL is configured correctly

  • SMTP or transactional email delivery is configured

  • File or object storage is configured

  • Firewall rules have been reviewed

  • PostgreSQL backups are configured where available

  • Application storage and attachments are backed up where required

  • CPU, RAM and disk usage are being monitored

  • Agent login and permissions have been tested

  • Live chat has been tested

  • Customer conversations have been tested

  • Notifications have been tested

  • Background jobs have been tested

  • Email delivery has been tested

Production checklist

Ready your Chatwoot for launch

  • Use a supported Chatwoot release

  • Use a supported Ruby version

  • Configure PostgreSQL

  • Configure Redis

  • Configure the production application environment

  • Protect application secret keys

  • Configure the correct application URL

  • Configure nginx or another production reverse proxy

  • Enable HTTPS

  • Configure background workers

  • Configure SMTP or transactional email

  • Configure application storage

  • Review PostgreSQL permissions

  • Review Redis network access

  • Enable server firewall

  • Create PostgreSQL backups

  • Back up required application storage

  • Review application and worker logs

  • Monitor CPU and RAM

  • Monitor PostgreSQL

  • Monitor Redis

  • Monitor disk usage

  • Test live chat

  • Test customer conversations

  • Test notifications

  • Test email delivery

Useful commands

Working with Chatwoot

Check Ruby version

Display the Ruby version available in the current application environment.

bash
ruby -v

Check Bundler version

Display the installed Bundler version used to manage Ruby dependencies.

bash
bundle -v

Check PostgreSQL version

Display the PostgreSQL client version installed on the server.

bash
psql --version

Check Redis version

Display the Redis server version installed on the server.

bash
redis-server --version

Check Node.js version

Display the Node.js version available for Chatwoot application tooling.

bash
node -v

Install Ruby dependencies

Install Ruby dependencies defined by the Chatwoot application's dependency configuration.

bash
bundle install

Run database migrations

Apply pending Rails database migrations. Use the deployment procedure appropriate for your Chatwoot release.

bash
bundle exec rails db:migrate

Check PostgreSQL service

Check whether the PostgreSQL service is running.

bash
sudo systemctl status postgresql

Check Redis service

Check whether the Redis service is running.

bash
sudo systemctl status redis-server

Check application processes

Inspect running Chatwoot-related processes on the server.

bash
ps aux | grep chatwoot

Check Rails routes

Display the routes available in the Rails application.

bash
bundle exec rails routes

Check disk usage

Check available and used disk space on the server.

bash
df -h

Check memory usage

Display current server memory and swap usage.

bash
free -h

Check running services

List currently running system services when troubleshooting Chatwoot dependencies.

bash
sudo systemctl --type=service --state=running
Troubleshooting

Common Chatwoot issues & fixes

502 Bad Gateway

Cause
The reverse proxy cannot communicate with the Chatwoot application process.
Solution
Check the Chatwoot web process, reverse-proxy configuration, listening port, socket configuration and application logs.

Chatwoot application does not start

Cause
Ruby dependencies, environment variables, database configuration or application secrets may be incorrect.
Solution
Check the application logs, environment configuration, Ruby version, Bundler dependencies and database connection.

Database connection failed

Cause
PostgreSQL may be unavailable or the configured database name, username, password or host may be incorrect.
Solution
Verify PostgreSQL status, database credentials, hostname, port and application database configuration.

Background jobs are not processing

Cause
Redis may be unavailable or the Chatwoot worker process may be stopped or misconfigured.
Solution
Check Redis status, worker status, Redis connection settings and worker logs.

Messages or notifications are delayed

Cause
Background workers may be overloaded, stopped or unable to communicate with Redis.
Solution
Check worker processes, Redis health, job processing logs and available CPU and memory.

Live chat is not updating in real time

Cause
The real-time application path, reverse proxy configuration or Chatwoot application process may not be configured correctly.
Solution
Check the application processes, reverse-proxy configuration, HTTPS configuration and Chatwoot logs.

Emails are not being delivered

Cause
SMTP or transactional email settings may be incorrect or the mail provider may reject the configured sender.
Solution
Verify SMTP host, port, username, password, encryption, sender address and application mail configuration.

Attachments are not uploading

Cause
Storage configuration, filesystem permissions, disk capacity or external object-storage settings may be incorrect.
Solution
Check storage configuration, application permissions, available disk space and the relevant application logs.

Application is running slowly

Cause
Insufficient CPU or RAM, overloaded Ruby processes, PostgreSQL performance, Redis pressure or excessive background jobs may affect performance.
Solution
Review CPU, RAM, PostgreSQL, Redis, worker and application metrics before increasing server resources.

PostgreSQL disk usage is high

Cause
Conversation history, messages, contacts and other application data continue to grow over time.
Solution
Review database growth, attachment storage, logs and backup retention, then increase storage or optimize the deployment based on measured usage.

Redis is using too much memory

Cause
Application workload and background processing may be consuming more Redis memory than expected.
Solution
Review Redis memory usage, Chatwoot workload, worker activity and Redis configuration.

Worker keeps restarting

Cause
The worker may be running out of memory, encountering application errors or failing to connect to Redis or PostgreSQL.
Solution
Review worker logs, system memory, Redis connectivity, PostgreSQL connectivity and the process-manager restart logs.
Security config

Hardened before your first request

Every deploy is locked down from boot — closed firewall, valid SSL, and restricted access by default.

  • Use HTTPS for the complete Chatwoot installation.

  • Use a supported Chatwoot release and keep the application updated.

  • Use supported Ruby, PostgreSQL, Redis and Node.js versions for the selected Chatwoot release.

  • Protect Chatwoot secret keys and environment variables from public repositories.

  • Do not expose PostgreSQL or Redis directly to the public internet unless there is a specific and secured requirement.

  • Use a firewall and expose only the ports required by Chatwoot and server administration.

  • Use SSH keys for server administration and disable password authentication where appropriate.

  • Use strong passwords and appropriate administrator access controls.

  • Limit database access to the Chatwoot application and authorized administrators.

  • Keep PostgreSQL and Redis services updated and protected.

  • Review application users and administrator access regularly.

  • Keep backups protected from public access.

  • Do not place uploaded files or application secrets inside publicly accessible configuration paths.

  • Keep regular backups of PostgreSQL data and required application storage.

  • Monitor authentication, application and server logs for suspicious activity.

Database

The data layer behind Chatwoot

PostgreSQL connection

Chatwoot uses PostgreSQL for persistent application data. Configure the database connection through the application's environment configuration.

Database credentials

Keep PostgreSQL credentials outside publicly accessible files and use environment-specific configuration.

Database migrations

Chatwoot database structure is managed through Rails migrations. Apply migrations using the deployment procedure required by the installed Chatwoot release.

Database backups

Back up PostgreSQL regularly. A server or application file backup alone is not sufficient when PostgreSQL contains the important conversation and customer data.

Database growth

Monitor PostgreSQL storage as conversations, messages, contacts and other records accumulate over time.

Redis

In-memory layer behind Chatwoot

Background jobs

Redis supports background processing used by Chatwoot for asynchronous application jobs.

Caching

Redis can provide fast in-memory operations used by the Chatwoot application.

Service availability

If Redis becomes unavailable, background processing and other application functionality depending on Redis may stop or become degraded.

Memory monitoring

Monitor Redis memory usage and configure the service according to the requirements of the Chatwoot deployment.

Workers

Background processing for Chatwoot

Background processing

Worker processes execute asynchronous tasks without keeping the main web request waiting.

Notifications

Background processing can handle notification-related work and other asynchronous communication tasks.

Automation

Automated actions and other background operations should have healthy worker capacity to avoid unnecessary processing delays.

Job monitoring

Monitor worker processes and application logs to identify failed, delayed or continuously retrying jobs.

Process management

Use a production process manager such as systemd or another supported process-management approach so workers restart automatically when required.

Security checklist

Lock down Chatwoot from day one

  • Use HTTPS

  • Use a supported Chatwoot release

  • Use supported Ruby and dependency versions

  • Protect Chatwoot secret keys

  • Keep environment variables outside public repositories

  • Restrict PostgreSQL network access

  • Restrict Redis network access

  • Use strong administrator credentials

  • Review Chatwoot administrator accounts

  • Use SSH keys for server administration

  • Use least-privilege filesystem permissions

  • Enable the server firewall

  • Keep PostgreSQL updated

  • Keep Redis updated

  • Keep Ruby dependencies updated

  • Protect uploaded files and attachments

  • Keep backups protected from public access

  • Monitor application and authentication logs

FAQ

Frequently Asked Questions

The questions we hear most from people deploying Chatwoot on SharkCluster.

Contact support

Chatwoot is an open-source customer engagement and customer support platform that provides shared inboxes, live chat, customer conversations, contact management, automation and supported communication channels.

Chatwoot is built primarily with Ruby on Rails and uses PostgreSQL for persistent application data and Redis for caching and background processing. The exact runtime and dependency requirements depend on the Chatwoot release you deploy.

Yes. Chatwoot provides self-hosting options that allow you to run the application on your own VPS and manage the underlying application and infrastructure environment.

Chatwoot requires a supported PostgreSQL database for persistent application data such as users, accounts, contacts, conversations and messages.

Chatwoot uses Redis for application workloads such as caching and background job processing. A healthy Redis service is important for reliable background processing.

Background workers process asynchronous tasks so operations such as notifications, automation and other jobs do not need to run inside the main web request.

Yes. You can configure a custom domain or subdomain for a self-hosted Chatwoot installation and enable HTTPS for production access.

Yes. Chatwoot provides live-chat functionality that allows website visitors to communicate with support or sales teams through a customer conversation interface.

A small VPS can be suitable for development, testing or a low-volume deployment. Production requirements depend on the number of agents, conversations, background jobs, attachments and other workload characteristics.

The required RAM depends on the Chatwoot version, number of application processes, background workers, PostgreSQL workload, Redis usage and conversation volume. A production deployment should be sized based on measured workload rather than a single fixed number.

Delayed jobs can be caused by stopped workers, Redis connectivity problems, insufficient CPU or RAM, or an overloaded application workload. Check Redis health, worker status and application logs.

A 502 usually means the reverse proxy cannot communicate with the Chatwoot application process. Check the application process, listening port, reverse-proxy configuration and application logs.

Email delivery problems are commonly related to incorrect SMTP settings, authentication, encryption, sender configuration or restrictions imposed by the email provider. Check the application mail configuration and logs.

Yes. A production backup strategy should include the PostgreSQL database and any required application storage such as conversation attachments. Verify your SharkCluster backup configuration for the available backup and restore options.

Multiple installations may be possible when the VPS has sufficient CPU, RAM and storage. Each installation should have its own application configuration, database, Redis configuration where required, domain and process-management setup.

SharkCluster manages the server and deployment environment, including the VPS, web server, Ruby runtime, PostgreSQL, Redis, SSL, firewall and related infrastructure. Chatwoot configuration, users, inboxes, integrations, customer data and application-level administration remain under your control.

One-click setup

From deploy to live in minutes

Stack configured

Runtime, process manager and config files set up for you.

PostgreSQL wired

Database created with a user and credentials in your config.

SSL + firewall

Free Let's Encrypt certificate and closed-by-default UFW rules.

Deploy anytime

Push with Git, or use the built-in file manager and ZIP upload.

Start your journey today

How do you start
with SharkCluster?

To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.

No lock-in contracts
No credit card required
Dedicated DevOps manager