Docker Roundcube Container (marvambass/roundcube)
maintained by MarvAmBass
FAQ - All you need to know about the marvambass Containers
What is it
This Dockerfile (available as marvambass/roundcube) gives you a completly secure roundcube.
It's based on the marvambass/nginx-ssl-php Image
View in Docker Registry marvambass/roundcube
View in GitHub MarvAmBass/docker-roundcube
Environment variables and defaults
For Headless installation required
Roundcube Settings
- ROUNDCUBE_PHP_DATE_TIMEZONE
- default Europe/Berlin - use whatever you need
Roundcube Install Settings
- ROUNDCUBE_DO_NOT_INITIALIZE
- not set by default - it set with any value, initialization process is skipped
Roundcube Database Settings
- ROUNDCUBE_MYSQL_USER
- no default - if null it will use sqlite
- ROUNDCUBE_MYSQL_PASSWORD
- no default - if null it will use sqlite
- ROUNDCUBE_MYSQL_HOST
- default: mysql
- ROUNDCUBE_MYSQL_PORT
- default: 3306 - if you use a different mysql port change it
- ROUNDCUBE_MYSQL_DBNAME
- default: roundcube
Roundcube Site Settings
- ROUNDCUBE_RELATIVE_URL_ROOT
- default: / - you can chance that to whatever you want/need
- ROUNDCUBE_HSTS_HEADERS_ENABLE
- default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel
- ROUNDCUBE_HSTS_HEADERS_ENABLE_NO_SUBDOMAINS
- default: not set - if set together with ROUNDCUBE_HSTS_HEADERS_ENABLE and set to any value the HTTP Strict Transport Security will be deactivated on subdomains
Inherited Variables
- DH_SIZE
- default: 1024 fast but a bit insecure. if you need more security just use a higher value
- inherited from MarvAmBass/docker-nginx-ssl-secure
Using the marvambass/roundcube Container
First you need a running MySQL Container (you could use: marvambass/mysql).
You need to --link your mysql container to marvambass/roundcube with the name mysql, and also link a valid imap smtp mail server with the name mail to it.
docker run -d -p 443:443 --link mysql:mysql --link mail:mail -e 'ROUNDCUBE_MYSQL_USER=username' -e 'ROUNDCUBE_MYSQL_PASSWORD=pa55worD' --name roundcube marvambass/roundcube