1.4.0-apache
,1.4-apache
,1-apache
,apache
,latest
1.4.0-fpm
,1.4-fpm
,1-fpm
,fpm
1.3.10-apache
,1.3-apache
1.3.10-fpm
,1.3-fpm
Roundcube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking. More details...
To simply run Roundcube Webmail image mount your Roundcube configuration and use apache
image version:
docker run -d -p 80:80 -v /my/roundcube.config.php:/app/config/config.inc.php \
instrumentisto/roundcube:apache
It's better to do it with Docker Compose. See Apache Docker Compose example for details.
If you prefer Nginx and PHP-FPM, you just require second sidecar Nginx container:
version: '3'
services:
roundcube:
image: instrumentisto/roundcube:fpm
expose:
- "9000"
volumes:
- app-volume:/app
- ./roundcube.config.php:/app/config/config.inc.php:ro
nginx:
image: nginx:stable-alpine
depends_on:
- roundcube
ports:
- "80:80"
volumes:
- app-volume:/var/www
- ./nginx.vh.conf:/etc/nginx/conf.d/default.conf:ro
volumes:
app-volume:
See Nginx and PHP-FPM Docker Compose example for details.
Also, this image contains prepared directory for SQLite database (if you choose to use one) in /var/db/
path. So your db_dsnw
parameter is preferred to have following value:
$config['db_dsnw'] = 'sqlite:////var/db/roundcube.db?mode=0640';
Check out examples for more details.
The image contains PHP OPcache enabled. By default cache revalidation is disabled for performance purposes, so once PHP script runs - it is cached forever and no changes to it have effect.
To disable this behavior specify PHP_OPCACHE_REVALIDATION=1
environment variable on container start. This will turn on OPcache revalidation, so any changes to PHP scripts will have desired effect.
There are some container environments (like Kubernetes) where you can't share directory from one container to another directly. Instead, you should create a volume, place there desired files and mount this volume to both containers.
With providing SHARE_APP=1
environment variable you have this behavior out-of-the-box. It will copy all the Roundcube Webmail sources from /app/
directory to /shared/
directory (just mount your volume to this directory) on container start and serve them from there. See Kubernetes example for details.
The image with Roundcube Webmail served by Apache HTTP server.
The image with Roundcube Webmail served by PHP-FPM.
It cannot be used alone and is intended to be used in conjunction with some other web server image (like Nginx, Apache, etc).
This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
Latest version of X.Y
Roundcube Webmail branch.
Concrete vX.Y.Z
version of Roundcube Webmail.
Roundcube Webmail is licensed under GPL-3.0-or-later license.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
The sources for producing instrumentisto/roundcube
Docker images are licensed under Blue Oak Model License 1.0.0.
We can't notice comments in the DockerHub so don't use them for reporting issue or asking question.
If you have any problems with or questions about this image, please contact us through a GitHub issue.