Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

Roundcube

The standard open-source webmail - your UI over any IMAP provider, with sessions and contacts in your Postgres.

1.6 GiB

3 services, 5 GB disk

$10/mo

flat resource

$0.031/h

Usage Billing

What is Roundcube?

A webmail client is the honest way to self-host email on a shared platform: the mail server stays wherever deliverability lives (Fastmail, Gmail, your VPS Dovecot), and you own the interface - the part that holds your sessions, contacts, and habits. Roundcube has been the standard for two decades: folders, search, filters, address book, responsive Elastic skin.

This template runs it stateless on a managed Postgres (settings, contacts, caches), behind a thin proxy. Two variables point it at your provider; users log in with their own mailbox credentials.

The deliberately absent piece is stated, not hidden: no SMTP server ships here, because nothing on shared cloud IPs can credibly deliver port-25 mail. Client here, relay where it belongs - the same honest split as the listmonk template.

What you get

  • Full webmail: folders, search, filters, contacts, HTML compose
  • Works over any IMAP/SMTP provider (ssl:// and tls:// supported)
  • Stateless on managed Postgres - settings and contacts in your DB
  • Elastic responsive skin; plugins via env
  • GPL, actively maintained official image
  • Pairs with mailpit (dev) and listmonk (sending) for the full mail lane

How it runs on Lyngbak

ServiceRolePublic
roundcubewebmail (:80, fixed)no
webnginx :5000 -> roundcube:80yes
dbPostgres - managed service on Lyngbak, container locallyno

Before you deploy

  • IMAP_HOST

    e.g. ssl://imap.fastmail.com

  • SMTP_SERVER

    e.g. tls://smtp.fastmail.com (the provider’s submission server)

Sizing and billing

PHP with a 128M limit per worker - 512 MiB carries a team. The managed Postgres holds everything worth keeping.

Hobby resource$10/mo1 vCPU, 1 GiB + 1 GiB RAM add-on, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.031/h1.5 vCPU, 2 GiB reserved. $22/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.14/h3 vCPU, 6 GiB reserved. $102/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Does this replace Fastmail or Google Workspace?

It replaces their web INTERFACE, not their servers: you keep paying your provider per user for the mailbox and deliverability, while the UI, session data, and contacts live on your infrastructure. Full mail-server self-hosting needs port 25 and IP reputation no shared platform can offer - this split is the honest one.

Can different users connect different providers?

The template sets one default IMAP host - right for a team on one provider. Multi-host setups go in a mounted config; for a true multi-account aggregator UX, Cypht is the upstream alternative worth a look.

Does Gmail work?

Yes, with an app password (or OAuth via plugin configuration): imap.gmail.com over ssl:// and smtp.gmail.com over tls://. Workspace accounts behave the same.

More in Email & Newsletters

listmonk

Self-hosted newsletters and mailing lists - millions of subscribers with no per-subscriber fee, sent through any relay you like.

Open the template →

Mailpit

The dev mail catcher - every test email from every app in your project, in one searchable UI.

Open the template →

useSend

The open-source Resend - transactional + campaign email with a dashboard and API, delivered through your own SES.

Open the template →
Roundcube webmail with Docker Compose | Lyngbak (formerly Miget)