Levelrail
Skip to content

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 ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
listmonk_db_data -> /var/lib/postgresql/data
listmonklistmonk/listmonk:v6.0.09000none

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
listmonkLISTMONK_ADMIN_PASSWORDGenerated at deploy
listmonkLISTMONK_ADMIN_USERGenerated at deploy
listmonkLISTMONK_app__addressPreset in the template
listmonkLISTMONK_db__databasePreset in the template
listmonkLISTMONK_db__hostPreset in the template
listmonkLISTMONK_db__passwordGenerated at deploy
listmonkLISTMONK_db__portPreset in the template
listmonkLISTMONK_db__ssl_modePreset in the template
listmonkLISTMONK_db__userPreset 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-listmonk

See 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.

Released under the Apache 2.0 License.