Self-host Listmonk with Docker
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/.Recommended memory: about 256 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
db | postgres:16-alpine | none | listmonk_db_data -> /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:
levelrail-cli templates deploy listmonk --name my-listmonkSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Communication templates
All templates are listed in the self-host gallery.