Self-host Chatwoot with Levelrail
An open-source customer support platform for live chat, email, and social messaging.
- Authorchatwoot
- LicenceMIT
- Memory1.5 GiB
- Archarm64
- Services3
How to self-host Chatwoot
-
Pull the images
3 images are pulled on your server.
Show images
chatwoot/chatwoot:v4.6.0postgres:16-alpineredis:7-alpine
-
Create the app
3 services start in a single Compose app, with 3 named volume mounts for your data, on port 3000.
-
Fill in the secrets
5 secrets are generated and stored encrypted, 6 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Chatwoot requirements
- Memory
- About 1.5 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 3000
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 3000 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Chatwoot. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Chatwoot docs page.
Deploy Chatwoot your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Chatwoot from the CLI
levelrail-cli templates deploy chatwoot --name my-chatwoot Deploy Chatwoot with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/chatwoot/deploy Chatwoot configuration
Chatwoot services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| chatwoot | chatwoot/chatwoot:v4.6.0 | 3000 | chatwoot_data -> /app/storage |
| db | postgres:16-alpine | none | chatwoot_db_data -> /var/lib/postgresql/data |
| redis | redis:7-alpine | none | chatwoot_redis_data -> /data |
Chatwoot environment variables
| Variable | Service | Value |
|---|---|---|
| FRONTEND_URL | chatwoot | Preset by the template |
| POSTGRES_DATABASE | chatwoot | Preset by the template |
| POSTGRES_HOST | chatwoot | Preset by the template |
| POSTGRES_PASSWORD | chatwoot | Generated at deploy |
| POSTGRES_USERNAME | chatwoot | Generated at deploy |
| RAILS_ENV | chatwoot | Preset by the template |
| REDIS_URL | chatwoot | Preset by the template |
| SECRET_KEY_BASE | chatwoot | Generated at deploy |
Show all 11 variables
- POSTGRES_DBdbPreset by the template
- POSTGRES_PASSWORDdbGenerated at deploy
- POSTGRES_USERdbGenerated at deploy
Ports and volumes
- Ports
- 3000
- Volumes
- 3 named mounts: chatwoot_data -> /app/storage, chatwoot_db_data -> /var/lib/postgresql/data, chatwoot_redis_data -> /data
Chatwoot FAQ
How much memory does Chatwoot need?
The catalog lists about 1.5 GiB of memory for Chatwoot across its 3 services.
Does Chatwoot run on arm64?
For Chatwoot, an arm64 image is published; amd64 is image published.
What licence is Chatwoot under?
Chatwoot is licensed under MIT, which is permissive, with few conditions on reuse.
Does Chatwoot need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does Chatwoot bundle?
The template includes Postgres and Redis, running as its own service.
Which ports does Chatwoot use?
Chatwoot listens on port 3000 inside the stack.
Where does Chatwoot keep its data?
In named volumes: chatwoot_data mounted at /app/storage, chatwoot_db_data mounted at /var/lib/postgresql/data and chatwoot_redis_data mounted at /data.
Can I deploy Chatwoot on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id chatwoot for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image chatwoot/chatwoot:v4.6.0, postgres:16-alpine, redis:7-alpine is what you deploy there.