Sign inSign up

robobeerun/roundcube

By robobeerun

Updated over 8 years ago

Roundcube image that runs as non-privileged user.

Image
0

3.8K

robobeerun/roundcube repository overview

Roundcube-Docker

Description

Packages the Roundcubemail as a docker container. It is based on the docker image instrumentisto/roundcube. This image does not require root or any additional privileges to run and can be deployed in OpenShift. Per default sqlite is configured as the database backend, but the image comes with MySQL and PostgreSQL libraries installed.

Environment Parameters

VariableDefaultDescription
PHP_MAX_EXECUTION_TIME300max_execution_time
PHP_MEMORY_LIMIT_MB128memory_limit
PHP_FPM_MAX_CHILDREN10pm.max_children
PHP_FPM_START_SERVERS2pm.start_servers
PHP_FPM_MIN_SPARE_SERVERS2pm.min_spare_servers
PHP_FPM_MAX_SPARE_SERVERS5pm.max_spare_servers
PHP_FPM_MAX_REQUESTS500pm.max_requests
PHP_FPM_REQUEST_SLOWLOG_TIMEOUT0request_slowlog_timeout
PHP_FPM_CATCH_WORKERS_OUTPUT1catch_workers_output
PHP_OPCACHE_ENABLE_CLI1opcache.enable_cli
PHP_OPCACHE_ENABLE1opcache.enable
PHP_OPCACHE_MEMORY_CONSUMPTION_MB128opcache.memory_consumption

Exposed Ports

PortDescription
9000php-fpm

Directories

PathDescription
/var/www/htmlwww-root directory.

Input Configration

SourceDestination
/php-in/*.ini/usr/local/etc/php/
/php-fpm-in/*.conf/usr/local/etc/php-fpm.d/
/roundcube-in/*.php/var/www/html/config/

Test

The docker-compose file test.yaml can be used to startup the container and Roundcube should be available at localhost:8080.

docker-compose -f test.yaml up

Optimize php-fpm

find /var/www/html -iname *.php|wc -l

License

Roundcube Webmail is licensed under GPL-3.0 license.

Roundcube Webmail Docker image is licensed under MIT license.

Copyright 2017 Erwin Müller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tag summary

Content type

Image

Digest

Size

230.3 MB

Last updated

over 8 years ago

docker pull robobeerun/roundcube