Deploy Listmonk Newsletter & Mailing List with Docker Compose
High-performance single-binary newsletter and transactional email manager backed by PostgreSQL.
listmonk/listmonk:latest1. Production docker-compose.yml Configuration
Copy this stack definition or deploy directly from your Vexlo Cloud console with automatic Let's Encrypt TLS and persistent volume mounts.
services:
listmonk:
image: listmonk/listmonk:latest
restart: unless-stopped
ports:
- "9000:9000"
environment:
- LISTMONK_app__address=${LISTMONK_app__address:-0.0.0.0:9000}
- LISTMONK_db__host=${LISTMONK_db__host:-postgres}
- LISTMONK_db__user=${LISTMONK_db__user:-listmonk}
- LISTMONK_db__password=${LISTMONK_db__password:-change-me-db-password}
volumes:
- app_data:/listmonk/uploads
depends_on:
- postgres
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-change-me-db-password}
- POSTGRES_DB=listmonk
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
app_data:
postgres_data:2. Required Environment Variables
| Variable | Default / Example | Description |
|---|---|---|
| LISTMONK_app__address | 0.0.0.0:9000 | HTTP bind address and port. |
| LISTMONK_db__host | postgres | PostgreSQL database host. |
| LISTMONK_db__user | listmonk | PostgreSQL database user. |
| LISTMONK_db__password | change-me-db-password | PostgreSQL password. |
Listmonk Newsletter & Mailing List Self-Hosting FAQs
How much RAM is required to self-host Listmonk Newsletter & Mailing List in production?
Listmonk Newsletter & Mailing List requires a minimum of 512 MB RAM (Starter or Pro). On Vexlo Cloud Pro (₹149/mo via UPI in India or $5/mo globally), you get 2 vCPU, 3 GB RAM, and 2 managed databases—more than enough headroom for production workloads.
How do I expose Listmonk Newsletter & Mailing List with automatic HTTPS/SSL on Vexlo Cloud?
Deploy the listmonk/listmonk:latest container on Vexlo Cloud, set the exposed port to 9000, and attach your custom domain in the Domains tab. Vexlo automatically provisions and renews Let's Encrypt TLS certificates.
How is persistent data backed up for Listmonk Newsletter & Mailing List?
Mount /listmonk/uploads to a persistent Docker volume and connect Vexlo Cloud's automated S3 / Cloudflare R2 backup scheduler to snapshot your database daily or weekly.
More 1-Click Docker Templates
View all 25 templates →n8n Workflow Automation
Self-hosted fair-code workflow automation with 400+ integrations and AI agent nodes.
Uptime Kuma
Self-hosted uptime monitoring dashboard with HTTP, TCP, DNS, and Telegram/Discord alerts.
PocketBase
Single-binary Go backend with embedded SQLite, real-time subscriptions, auth, and file storage.
Supabase Self-Hosted
Open-source Firebase alternative with PostgreSQL, GoTrue Auth, PostgREST, Realtime, and Studio.