Self-host Listmonk on a VPS
A self-hosted newsletter and mailing list manager with a fast, dependency-light core.
levelrail-cli templates deploy listmonk --name my-listmonkSpecification
- Status
- Verified on arm64 with image tag v6.0.0
- Category
- Communication
- Services
- db, listmonk
- Ports
- 9000
- Volumes
- 1
- Memory
- about 256 MiB
- arm64
- tested
- amd64
- image published
- Settings to fill in
- none
About Listmonk
A self-hosted newsletter and mailing list manager with a fast, dependency-light core. Runs 2 containers (db, listmonk), with listmonk listening on port 9000; data is kept in named volumes.
What it deploys
Listmonk runs as 2 services in a single Compose app, listening on port 9000, with 1 named volume mount.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| db | postgres | 16-alpine | none | listmonk_db_data -> /var/lib/postgresql/data |
| listmonk | listmonk/listmonk | v6.0.0 | 9000 | none |
Before you install
- CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
- Verified. Verified on arm64 with image tag v6.0.0. Verified means our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 9000 directly on the host, so open them in the VPS firewall only if you want that.
Settings and environment
You do not have to fill in anything. 4 secrets are generated at deploy and stored encrypted. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| db | POSTGRES_DB | Preset by the template |
| db | POSTGRES_PASSWORD | Generated at deploy |
| db | POSTGRES_USER | Preset by the template |
| listmonk | LISTMONK_ADMIN_PASSWORD | Generated at deploy |
| listmonk | LISTMONK_ADMIN_USER | Generated at deploy |
| listmonk | LISTMONK_app__address | Preset by the template |
| listmonk | LISTMONK_db__database | Preset by the template |
| listmonk | LISTMONK_db__host | Preset by the template |
| listmonk | LISTMONK_db__password | Generated at deploy |
| listmonk | LISTMONK_db__port | Preset by the template |
| listmonk | LISTMONK_db__ssl_mode | Preset by the template |
| listmonk | LISTMONK_db__user | Preset by the template |
Install Listmonk on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get listmonk -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy listmonk --name my-listmonk
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Listmonk.
Docs and upstream
More in Communication
- LiveKitOpen-source WebRTC server for real-time audio, video and data, with an API for rooms and tokens. The install form carries livekit.yaml as an editable file and generates the API key and secret.
- Mail server (mox, experimental)Experimental. Needs APP_EXPERIMENTAL=mail on the control plane: without it this template is hidden and cannot be installed. Install with the MAIL_FIRST_DOMAIN setting (templates install mail-mox --env MAIL_FIRST_DOMAIN=example.com). MAIL_HOSTNAME (the FQDN other servers connect to) defaults to mail. that domain and MAIL_ADMIN_EMAIL to postmaster@ that domain. Ports 25, 465, 587 and 993 are published on the host with a private bind by default. After install, open them with the CLI command mail ports open --confirm (or Open mail ports on the Mail page): that makes only those four ports public and allows them in the host firewall, then set up DNS. Webmail and the account UI are on port 8025 (private, no admin pages). The admin API and metrics are never published; never make them public. TLS: the first start makes a self-signed certificate (valid for localhost only, made by mox itself) so the server comes up with no manual steps. Replace it before sending real mail: put your certificate and key in the config volume and set MAIL_TLS_CERT_FILE and MAIL_TLS_KEY_FILE (paths under /mox/config, for example certs/cur.pem and certs/cur.key). Existing files at those paths are never overwritten. A changed certificate needs a container restart. Relay mode: set MAIL_SMARTHOST_HOST (and port, user, password) to send through a provider. Changing it needs a restart. The admin password is the generated secret SERVICE_PASSWORD_MAILADMIN. Back up the config and data volumes together. Deliverability depends on reverse DNS, SPF, DKIM and a clean IP; see the mail template guide. Licence: MIT.
- Matrix SynapseA federated, end-to-end encrypted chat server implementing the Matrix protocol.
- Matrix Synapse (Postgres)A Matrix homeserver backed by Postgres, for self-hosted federated chat and voice/video signaling.
- MatterbridgeBridges chat between platforms. The install form carries matterbridge.toml as an editable file with a local API gateway, so you add your own accounts there.
- MattermostAn open-source, self-hosted alternative to Slack for team messaging and collaboration.