32 lines
1018 B
Markdown
32 lines
1018 B
Markdown
# IREDDOCKER
|
|
|
|
This is the iRedMail docker image with included external ldap authentication and ability of usage an external mysql database.
|
|
|
|
## Install
|
|
|
|
Clone git repository to local folder
|
|
|
|
```git clone https://github.com/temasky/ireddocker.git```
|
|
|
|
## Configure
|
|
|
|
create file ```docker-enf.conf``` in ireddocker directiry, like this:
|
|
```
|
|
LDAP_EXTERNAL_USE=YES
|
|
LDAP_EXTERNAL_SERVER=#ldap server address
|
|
LDAP_EXTERNAL_BINDPW=#bind password for ldap
|
|
LDAP_EXTERNAL_BINDUSER=#bind user for ldap
|
|
LDAP_EXTERNAL_BASE=#base dn for mail users
|
|
FIRST_DOMAIN=#mail domain name
|
|
MYSQLEXIST=#usage existing databse
|
|
MYSQL_SERVER_ADDRESS=#server address of mysql external database
|
|
MYSQL_ROOT_USER=#name for admin(root) user of external database
|
|
MYSQL_ROOT_PASSWD=#passwd for admin(root) user of external database
|
|
CUSTOM_CERT_USE:=NO#usage of external cert file. If Yes - place certfile in cert_dir directory, in global catalog
|
|
CUSTOM_CERT_KEYFILE:=privkey.pem
|
|
CUSTOM_CERT_CERTFILE:=fullchain.pem
|
|
```
|
|
## RUN
|
|
|
|
```docker-compose up -d```
|