Skip to content

macropin/docker-roundcube

Repository files navigation

Roundcube Docker

Production ready Docker container for Roundcube.

Features

  • Uses debian base image
  • Thin Container. Uses linked MariaDB and IMAP containers for those services
  • Installs latest Roundcube cleanly from Git source

Usage

Feel free to use this Unit File or construct your own arguments.

Environment variables

These are the base variables:

  • DATABASE_USER - Required: Database username.
  • DATABASE_PASS - Required: Database password.
  • DATABASE_HOST - Optional: Database host, or use --link mariadb
  • DATABASE_NAME - Optional: Database Name. Default 'roundcube'.
  • DEFAULT_HOST - Optional: IMAP Host URL, or use --link mailserver (must expose port 993 imaps).
  • DEFAULT_PORT - Optional: IMAP Port, or or use --link mailserver (must expose port 993 imaps).
  • SMTP_SERVER - Optional: SMTP Host URL, or use --link mailserver (must expose port 465 smtps).
  • SMTP_PORT - Optional: SMTP Port, or or use --link mailserver (must expose port 465 smtps).

SSL Configuration:

  • SSL_ENABLED - Optional: Enable SSL
  • SSL_KEY - Optional: Path to SSL Key
  • SSL_CRT - Optional: Path to SSL Certificate
  • SSL_CA - Optional: Certificate Authority Chain

Apache MPM Tuning:

  • MPM_START - Optional: Default '5'
  • MPM_MINSPARE - Optional: Default '5'
  • MPM_MAXSPARE - Optional: Default '10'
  • MPM_MAXWORKERS - Optional: Default '150'
  • MPM_MAXCONNECTIONS - Optional: Default '0'

TODO

  • Add support for handling database schema upgrades. Currently this must be done manually.

Status

Production Stable.