> ## 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 Listmonk with Docker

> A self-hosted newsletter and mailing list manager with a fast, dependency-light core.

A self-hosted newsletter and mailing list manager with a fast, dependency-light core.

This page describes the Levelrail template for Listmonk (Communication). It deploys the services below as one Docker Compose app on your own server. Project site: [https://listmonk.app/docs/](https://listmonk.app/docs/).

Recommended memory: about 256 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `db` | `postgres:16-alpine` | none | `listmonk_db_data -&#62; /var/lib/postgresql/data` |
| `listmonk` | `listmonk/listmonk:v6.0.0` | 9000 | none |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `db` | `POSTGRES_DB` | Preset in the template |
| `db` | `POSTGRES_PASSWORD` | Generated at deploy |
| `db` | `POSTGRES_USER` | Preset in the template |
| `listmonk` | `LISTMONK_ADMIN_PASSWORD` | Generated at deploy |
| `listmonk` | `LISTMONK_ADMIN_USER` | Generated at deploy |
| `listmonk` | `LISTMONK_app__address` | Preset in the template |
| `listmonk` | `LISTMONK_db__database` | Preset in the template |
| `listmonk` | `LISTMONK_db__host` | Preset in the template |
| `listmonk` | `LISTMONK_db__password` | Generated at deploy |
| `listmonk` | `LISTMONK_db__port` | Preset in the template |
| `listmonk` | `LISTMONK_db__ssl_mode` | Preset in the template |
| `listmonk` | `LISTMONK_db__user` | Preset in the template |

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 Listmonk with Levelrail

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

With the CLI:

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

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)
* [Chatwoot](/self-host/chatwoot)
* [FreeScout](/self-host/freescout)

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.