diff --git a/README.md b/README.md index e46301a..52564ac 100644 --- a/README.md +++ b/README.md @@ -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 < 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``` diff --git a/docker-compose.yml b/docker-compose.yml index 4e0238a..ca49325 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: