An open API service indexing awesome lists of open source software.

https://github.com/macropin/docker-roundcube

Docker image for Roundcube webmail
https://github.com/macropin/docker-roundcube

docker-container docker-image docker-roundcube roundcube

Last synced: 4 months ago
JSON representation

Docker image for Roundcube webmail

Awesome Lists containing this project

README

          

# Roundcube Docker

[![](https://badge.imagelayers.io/macropin/roundcube:latest.svg)](https://imagelayers.io/?images=macropin/roundcube:latest)

Production ready Docker container for [Roundcube](https://github.com/roundcube/roundcubemail).

## Features

- Uses [debian](https://registry.hub.docker.com/_/debian/) base image
- Thin Container. Uses linked [MariaDB](https://registry.hub.docker.com/_/mariadb/) and IMAP containers for those services
- Installs latest Roundcube cleanly from Git source

## Usage

Feel free to use this [Unit File](https://github.com/macropin/docker-units/blob/master/roundcube.service) 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.