Self-host Listmonk with Levelrail

Verified

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

  • AuthorknadhVerified by Levelrail
  • LicenceAGPL-3.0
  • Memory256 MiB
  • Archarm64
  • Services2

How to self-host Listmonk

  1. Pull the images

    2 images are pulled on your server.

    Show images
    • postgres:16-alpine
    • listmonk/listmonk:v6.0.0
  2. Create the app

    2 services start in a single Compose app, with 1 named volume mount for your data, on port 9000.

  3. Fill in the secrets

    4 secrets are generated and stored encrypted, 8 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Listmonk requirements

Memory
About 256 MiB
Architectures
amd64 image published, arm64 tested
Ports
9000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
AGPL-3.0, network copyleft (agpl) license
  • Verified. Verified on arm64 with image tag v6.0.0. Our CI ran this exact image version and it answered on its health path. Evidence
  • Host ports. It publishes port 9000 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 Listmonk. 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 Listmonk docs page.

Deploy Listmonk your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Listmonk from the CLI

levelrail-cli templates deploy listmonk --name my-listmonk

Deploy Listmonk with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/listmonk/deploy

Listmonk configuration

Listmonk services

ServiceImagePortsVolumes
db postgres:16-alpine none listmonk_db_data -> /var/lib/postgresql/data
listmonk listmonk/listmonk:v6.0.0 9000 none

Listmonk environment variables

VariableServiceValue
POSTGRES_DB db Preset by the template
POSTGRES_PASSWORD db Generated at deploy
POSTGRES_USER db Preset by the template
LISTMONK_ADMIN_PASSWORD listmonk Generated at deploy
LISTMONK_ADMIN_USER listmonk Generated at deploy
LISTMONK_app__address listmonk Preset by the template
LISTMONK_db__database listmonk Preset by the template
LISTMONK_db__host listmonk Preset by the template
Show all 12 variables
  • LISTMONK_db__passwordlistmonkGenerated at deploy
  • LISTMONK_db__portlistmonkPreset by the template
  • LISTMONK_db__ssl_modelistmonkPreset by the template
  • LISTMONK_db__userlistmonkPreset by the template

Ports and volumes

Ports
9000
Volumes
1 named mount: listmonk_db_data -> /var/lib/postgresql/data

Listmonk FAQ

How much memory does Listmonk need?

The catalog lists about 256 MiB of memory for Listmonk across its 2 services.

Does Listmonk run on arm64?

For Listmonk, arm64 is tested; amd64 is image published.

What licence is Listmonk under?

Listmonk is licensed under AGPL-3.0, which is network copyleft, so source sharing also applies when it is offered as a hosted service.

Does Listmonk need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Listmonk bundle?

The template includes Postgres, running as its own service.

Which ports does Listmonk use?

Listmonk listens on port 9000 inside the stack.

Where does Listmonk keep its data?

In a named volume: listmonk_db_data mounted at /var/lib/postgresql/data.

Can I deploy Listmonk 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 listmonk for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image postgres:16-alpine, listmonk/listmonk:v6.0.0 is what you deploy there.

levelrail-cli templates deploy listmonk --name my-listmonk