update readme
This commit is contained in:
@@ -35,9 +35,9 @@ EOF
|
||||
|
||||
1. add FQDN name in ```docker-compose.yml``` file
|
||||
|
||||
1. create file ```ireddocker/iredmail-env.conf```, like this:
|
||||
1. create file ```envfiles/iredmail-env.conf``` for iredmail, like this:
|
||||
```
|
||||
cat <<EOF > ireddocker/iredmail-env.conf
|
||||
cat <<EOF > envfiles/iredmail-env.conf
|
||||
#USE OR NOT EXTERNAL DATABASE
|
||||
LDAP_EXTERNAL_USE=YES
|
||||
#ldap server address
|
||||
@@ -72,10 +72,18 @@ CUSTOM_CERT_KEYFILE=privkey.pem
|
||||
CUSTOM_CERT_CERTFILE=fullchain.pem
|
||||
EOF
|
||||
```
|
||||
1. create file ```envfiles/mariadb-env.conf``` for mariadb, like this:
|
||||
```
|
||||
cat <<EOF > envfiles/mariadb-env.conf
|
||||
#root password for database(the same as MYSQL_ROOT_PASSWD in iredmail env file)
|
||||
MYSQL_ROOT_PASSWORD=
|
||||
EOF
|
||||
```
|
||||
|
||||
1. 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 )
|
||||
1. Create directory for mail and for certificates (default is ```mail_dir``` and ```cert_dir``` ```conf-dir``` . For other location this filder need to be change in ```docker-compose.yml``` file )
|
||||
|
||||
```
|
||||
mkdir conf-dir
|
||||
mkdir mail_dir
|
||||
mkdir cert_dir
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user