Roundcube docker container with nginx and php-fpm
- Dockerfile 83.1%
- Shell 16.9%
| .gitignore | ||
| config.inc.php.tmpl | ||
| Containerfile | ||
| entrypoint.sh | ||
| fpm.conf | ||
| nginx.conf | ||
| README.md | ||
| supervisord.conf | ||
Roundcube Docker container
This repository provides a Dockerfile which builds a ready to use Roundcube container with Nginx webserver. In addition, this container only contains support for PostgreSQL databases and does not contain support for other database management systems
Getting started
First you should build and tag the container. By default, the included Containerfile pulls Roundcube version 1.6.13, verifies it and extracts it to appropriate location.
$ docker build -t registry.example.com/roundcube:v1.6.13 . -f Containerfile
After the container building has finished, you can spin up the container using following commands:
$ docker run \
-p 127.0.0.1:8080:80 \
-v ./_volume/logs/nginx:/var/log/nginx \
-v ./_volume/roundcube:/var/www/roundcube \
-v ./_volume/pgp:/var/pgp \
-e POSTGRES_USER=roundcube \
-e POSTGRES_PASSSWORD=password \
-e POSTGRES_HOST=postgres \
-e POSTGRES_DB=roundcube \
-e IMAP_HOST=ssl://mail.example.com:993 \
-e SMTP_HOST=tls://mail.example.com:587 \
registry.example.com/roundcube:v1.6.13