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```
+2 -2
View File
@@ -7,7 +7,7 @@ version: '3'
services:
master_mariadb:
image: mariadb:latest
image: mariadb:10.5.4-focal
container_name: master_mariadb
environment:
MYSQL_ROOT_PASSWORD: "123qweASD"
@@ -21,7 +21,7 @@ services:
build:
dockerfile: ireddocker/Dockerfile
context: ireddocker/
image: ireddocker:0.3
image: ireddocker:0.4
container_name: iredmail-mail
hostname: mail.recsds.spbsut.ru
env_file: