Self-host Roundcube Webmail with Levelrail

A browser-based IMAP email client with a clean interface, address books, and plugin support.

  • Authorroundcube
  • LicenceGPL-3.0-or-later
  • Memory256 MiB
  • Archarm64
  • Services1

How to self-host Roundcube Webmail

  1. Pull the images

    One image is pulled on your server.

    Show images
    • roundcube/roundcubemail:1.7.4-apache
  2. Create the app

    One service starts in a single Compose app, with 1 named volume mount for your data, on port 80.

  3. Fill in the secrets

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

Roundcube Webmail requirements

Memory
About 256 MiB
Architectures
amd64 image published, arm64 image published
Ports
80
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
GPL-3.0-or-later, copyleft license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 80 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 Roundcube Webmail. 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 Roundcube Webmail docs page.

Deploy Roundcube Webmail your way

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

Deploy Roundcube Webmail from the CLI

levelrail-cli templates deploy roundcube --name my-roundcube

Deploy Roundcube Webmail 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/roundcube/deploy

Roundcube Webmail configuration

Roundcube Webmail services

ServiceImagePortsVolumes
roundcube roundcube/roundcubemail:1.7.4-apache 80 roundcube_db -> /var/roundcube/db

Roundcube Webmail environment variables

VariableServiceValue
ROUNDCUBEMAIL_DB_TYPE roundcube Preset by the template
ROUNDCUBEMAIL_DEFAULT_HOST roundcube Preset by the template
ROUNDCUBEMAIL_SMTP_SERVER roundcube Preset by the template

Ports and volumes

Ports
80
Volumes
1 named mount: roundcube_db -> /var/roundcube/db

Roundcube Webmail FAQ

How much memory does Roundcube Webmail need?

The catalog lists about 256 MiB of memory for Roundcube Webmail.

Does Roundcube Webmail run on arm64?

For Roundcube Webmail, an arm64 image is published; amd64 is image published.

What licence is Roundcube Webmail under?

Roundcube Webmail is licensed under GPL-3.0-or-later, which is copyleft, so changes you distribute must be shared under the same terms.

Does Roundcube Webmail need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Roundcube Webmail use?

Roundcube Webmail listens on port 80 inside the stack.

Where does Roundcube Webmail keep its data?

In a named volume: roundcube_db mounted at /var/roundcube/db.

Can I deploy Roundcube Webmail 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 roundcube for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image roundcube/roundcubemail:1.7.4-apache is what you deploy there.

levelrail-cli templates deploy roundcube --name my-roundcube