Roundcube installation with Nginx, PHP and the Password Plugin with the SQL Driver
1.2K
Don't run this in production! This container is in an early stage of development!
Roundcube Docker container with Password Addon
to run:
docker run -t -i \
-p 80:80 \
-e SRV_NAME="example.com" \
-e DB_USR="root" \
-e DB_PW="dbpw" \
-e DB_HOST="db" \
-e DB_ROOT_PW="my-secret-root-pw" \
-e IMAP_SRV="imap.example.com" \
-e SMTP_SRV="smtp.mexample.com" \
-e SUPP_URL="support.example.com" \
-e MAIL_NAME="My Example Roundcube" \
-e PASSWORD_PLUGIN="YES" \
-e VMAIL_DB_HOST="db" \
-e VMAIL_DB_PW="vmailpw" \
-e VMAIL_DB_USER="postfix" \
roundcube
you could mount: /var/www/html/logs/
-v ~/roundcube-logs:/var/www/html/logs/
##Password Addon
The Password Addon lets you change your Password for your IMAP Account. Usually its a Dovecot Account. I've activated the plugin and it's set like this:
$config['password_db_dsn'] = 'mysql://{{DB_USR}}:{{DB_PASSWORD}}@{{DB_HOST}}/vmail';
$config['password_query'] = 'UPDATE users SET password=%D WHERE username=%l AND domain=%d LIMIT 1';
// Path for dovecotpw (if not in $PATH)
$config['password_dovecotpw'] = 'doveadm pw';
// Dovecot method (dovecotpw -s 'method')
$config['password_dovecotpw_method'] = 'SSHA512';
Content type
Image
Digest
Size
153.3 MB
Last updated
over 9 years ago
docker pull number13/roundcube-docker