selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
roundcubemail-docker logo

Self-host roundcubemail-docker

1.6.2

Docker images for Roundcube Webmail

ReleaseOpen SourceGPL-3.0-or-later
Updated2 days ago
LanguageShell
Setup difficultyModerate
Stars
368
Ports
80 (HTTP web interface (Apache variant)), 8000 (HTTP web interface (FPM variant))
Docker
roundcube/roundcubemail
Install with Docker

What is roundcubemail-docker?

Roundcube Webmail Docker provides official container images for running the Roundcube webmail client. It offers three variants (Apache, PHP-FPM, and PHP-FPM Alpine) with both root and non-root versions. The images support configuration via environment variables for IMAP/SMTP servers, database connections (MySQL, PostgreSQL, or SQLite), plugins, skins, and Docker Secrets for sensitive data. Persistent data directories can be mounted for the database, configuration, plugins, and temporary files. The project is maintained by the Roundcube organization and licensed under GPL-3.0-or-later.

roundcubemail-docker alternatives

Should you self-host roundcubemail-docker?

roundcubemail-docker scores 56/100 on selfhost.directory (how scoring works) and ranks #40 of 106 in Email. It has 368 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-or-later-licensed and written mostly in Shell.

Its closest alternative on selfhost.directory is Listmonk (80/100, 24 059 stars). It scores higher overall, so compare the two before you pick. See roundcubemail-docker vs Listmonk side by side.

Features

  • Custom configuration
  • Docker secrets support
  • Multiple Database Backends
  • Multiple variants
  • Non-root imagesSome features like upload size limit and aspell dictionaries are disabled in nonroot variant
  • Persistent data volumes
  • Plugin System
  • Pre/post setup hooks
  • Reverse proxy compatibleImages speak HTTP only; HTTPS requires external reverse proxy
  • Skin/theme support
  • Spell CheckingAspell dictionaries not available in nonroot variant
  • Webmail Client

roundcubemail-docker README

Build & Test Docker Pulls

Running Roundcube in a Docker Container

The simplest method is to run the official image:

docker run -e ROUNDCUBEMAIL_DEFAULT_HOST=mail -e ROUNDCUBEMAIL_SMTP_SERVER=mail -p 8000:80 -d roundcube/roundcubemail

How to install roundcubemail-docker

Install roundcubemail-docker with Docker

Docker Engine
Environment variables
ROUNDCUBEMAIL_DEFAULT_HOST, ROUNDCUBEMAIL_SMTP_SERVER, ROUNDCUBEMAIL_DEFAULT_PORT, ROUNDCUBEMAIL_SMTP_PORT, ROUNDCUBEMAIL_DB_TYPE, ROUNDCUBEMAIL_DB_HOST, ROUNDCUBEMAIL_DB_PORT, ROUNDCUBEMAIL_DB_USER, ROUNDCUBEMAIL_DB_PASSWORD, ROUNDCUBEMAIL_DB_NAME, ROUNDCUBEMAIL_PLUGINS, ROUNDCUBEMAIL_COMPOSER_PLUGINS, ROUNDCUBEMAIL_SKIN, ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE, ROUNDCUBEMAIL_SPELLCHECK_URI, ROUNDCUBEMAIL_ASPELL_DICTS, ROUNDCUBEMAIL_USERNAME_DOMAIN, ROUNDCUBEMAIL_REQUEST_PATH

docker run -e ROUNDCUBEMAIL_DEFAULT_HOST=mail -e ROUNDCUBEMAIL_SMTP_SERVER=mail -p 8000:80 -d roundcube/roundcubemail

Requires IMAP and SMTP server hostnames

How to configure roundcubemail-docker

  • ROUNDCUBEMAIL_DEFAULT_HOSTHostname of the IMAP server to connect to. For encrypted connections, prefix with tls:// (STARTTLS) or ssl:// (SSL/TLS).
  • ROUNDCUBEMAIL_DEFAULT_PORT143IMAP port number
  • ROUNDCUBEMAIL_SMTP_SERVERHostname of the SMTP server to send mails. For encrypted connections, prefix with tls:// (STARTTLS) or ssl:// (SSL/TLS).
  • ROUNDCUBEMAIL_SMTP_PORT587SMTP port number
  • ROUNDCUBEMAIL_USERNAME_DOMAINAutomatically add this domain to user names for login

More in Email

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…