From 90fc1194beba2d5311b3007226dc8c626ec3e061 Mon Sep 17 00:00:00 2001 From: root <1510183@gmail.com> Date: Fri, 7 Aug 2020 15:42:39 +0000 Subject: [PATCH] update readme --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3217b87..b56b776 100644 --- a/README.md +++ b/README.md @@ -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 < ireddocker/iredmail-env.conf +cat < 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 < 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 ```