update Readme

This commit is contained in:
root
2020-08-06 10:54:38 +00:00
parent 6a4743642a
commit 3c07f11edc
2 changed files with 13 additions and 3 deletions
+11 -1
View File
@@ -10,10 +10,11 @@ Clone git repository to local folder
## Configure
add FQDN name in docker-compose.yml file
add FQDN name in ```docker-compose.yml``` file
create file ```ireddocker/iredmail-env.conf```, like this:
```
cat <<EOF > ireddocker/iredmail-env.conf
LDAP_EXTERNAL_USE=YES
LDAP_EXTERNAL_SERVER=#ldap server address
LDAP_EXTERNAL_BINDPW=#bind password for ldap
@@ -27,7 +28,16 @@ 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
EOF
```
Create directory for mail and for certificates (default is ```mail_dir``` and ```cert_dir```. For other location this filder need to be change in ```docker-compose.yml``` file )
```
mkdir mail_dir
mkdir cert_dir
```
## RUN
```docker-compose up -d```