> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Chatwoot with Docker

> An open-source customer support platform for live chat, email, and social messaging.

An open-source customer support platform for live chat, email, and social messaging.

This page describes the Levelrail template for Chatwoot (Communication). It deploys the services below as one Docker Compose app on your own server. Project site: [https://www.chatwoot.com/docs/self-hosted/](https://www.chatwoot.com/docs/self-hosted/).

Recommended memory: about 1536 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `chatwoot` | `chatwoot/chatwoot:v4.6.0` | 3000 | `chatwoot_data -&#62; /app/storage` |
| `db` | `postgres:16-alpine` | none | `chatwoot_db_data -&#62; /var/lib/postgresql/data` |
| `redis` | `redis:7-alpine` | none | `chatwoot_redis_data -&#62; /data` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `chatwoot` | `FRONTEND_URL` | Preset in the template |
| `chatwoot` | `POSTGRES_DATABASE` | Preset in the template |
| `chatwoot` | `POSTGRES_HOST` | Preset in the template |
| `chatwoot` | `POSTGRES_PASSWORD` | Generated at deploy |
| `chatwoot` | `POSTGRES_USERNAME` | Generated at deploy |
| `chatwoot` | `RAILS_ENV` | Preset in the template |
| `chatwoot` | `REDIS_URL` | Preset in the template |
| `chatwoot` | `SECRET_KEY_BASE` | Generated at deploy |
| `db` | `POSTGRES_DB` | Preset in the template |
| `db` | `POSTGRES_PASSWORD` | Generated at deploy |
| `db` | `POSTGRES_USER` | Generated at deploy |

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

## Deploy Chatwoot with Levelrail

In the dashboard, open **Apps**, choose **New app**, then **Browse templates**, and select Chatwoot. Review the Compose body and deploy.

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy chatwoot --name my-chatwoot
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Communication templates

* [Apache Answer](/self-host/answer)
* [Apprise API](/self-host/apprise-api)
* [Campfire](/self-host/campfire)
* [FreeScout](/self-host/freescout)
* [Gotify](/self-host/gotify)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.