Use a common ssl location

This commit is contained in:
2015-09-14 16:05:20 +02:00
parent 68595e78cd
commit 550dbfb533
3 changed files with 17 additions and 5 deletions

View File

@@ -45,4 +45,16 @@ Use the the example config files in `config/example` to get you started.
6. Run container and map ports 25 and 143 from the host to the container.
`docker run -name dockermail -d -p 25:25 -p 587:587 -p 143:143 -v /var/lib/dockermail/settings:/mail_settings -v /var/lib/dockermail/vmail:/vmail dockermail_email_core`
```
docker run -ti -d \
-name dockermail \
-p 25:25 \
-p 587:587 \
-p 143:143 \
-v /var/lib/dockermail/settings:/mail_settings \
-v /var/lib/dockermail/vmail:/vmail \
-v <path-to-certs>:/etc/ssl/server
dockermail_email_core
```
Note that the certificates must be named `email.crt` and `email.key`.