mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Updated Configure SSL (markdown)
This commit is contained in:
parent
2500b0704c
commit
225de9aadb
|
@ -79,7 +79,23 @@ docker run -d \
|
||||||
```
|
```
|
||||||
You may want to add ```-e LETSENCRYPT_TEST=true``` to the above while testing to avoid the Let's Encrypt certificate generation rate limits.
|
You may want to add ```-e LETSENCRYPT_TEST=true``` to the above while testing to avoid the Let's Encrypt certificate generation rate limits.
|
||||||
|
|
||||||
Finally, start ```docker-mailserver``` with ```path/to/certs/mail.mydomain.tld``` mounted to ```/etc/letsencrypt/live/mail.mydomain.tld```
|
Finally, start the mailserver with the docker-compose.yml
|
||||||
|
Make sure your mount path to the letsencrypt certificates is correct.
|
||||||
|
Inside your /path/to/mailserver/docker-compose.yml ( for the mailserver from this repo ) make sure volumes look like below example;
|
||||||
|
|
||||||
|
```
|
||||||
|
volumes:
|
||||||
|
- maildata:/var/mail
|
||||||
|
- mailstate:/var/mail-state
|
||||||
|
- ./config/:/tmp/docker-mailserver/
|
||||||
|
_**- /server/letsencrypt/etc:/etc/letsencrypt/live**_
|
||||||
|
```
|
||||||
|
|
||||||
|
Then
|
||||||
|
|
||||||
|
/path/to/mailserver/docker-compose up -d mail
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### Example using the letsencrypt certificates on a Synology NAS
|
#### Example using the letsencrypt certificates on a Synology NAS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue