Add ROUNDCUBEMAIL_DB_PORT to fix #49

This commit is contained in:
mathieu.brunot
2019-06-01 15:53:57 +02:00
parent 0a06b301cf
commit e1670721d6
3 changed files with 11 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ By default, the image will use a local SQLite database for storing user account
It'll be created inside the `/var/www/html` directory and can be backed up from there. Please note that
this option should not be used for production environments.
### Connect to a MySQL Database
### Connect to a Database
The recommended way to run Roundcube is connected to a MySQL database. Specify the following env variables to do so:
@@ -40,6 +40,8 @@ The recommended way to run Roundcube is connected to a MySQL database. Specify t
`ROUNDCUBEMAIL_DB_HOST` - Host (or Docker instance) name of the database service; defaults to `mysql` or `postgres` depending on linked containers.
`ROUNDCUBEMAIL_DB_PORT` - Port number of the database service; defaults to `3306` or `5432` depending on linked containers.
`ROUNDCUBEMAIL_DB_USER` - The database username for Roundcube; defaults to `root` on `mysql`
`ROUNDCUBEMAIL_DB_PASSWORD` - The password for the database connection