README: improve formatting

This commit is contained in:
hasufell 2015-10-02 16:39:35 +02:00
parent 8effcd7d1b
commit 9d08f5184e
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 11 additions and 13 deletions

View File

@ -48,17 +48,15 @@ Use the the example config files in `config/example` to get you started.
6. Run container
```
docker run -ti -d \
--name dockermail \
-p 25:25 \
-p 587:587 \
-p 143:143 \
-p 4190:4190 \
-v /var/lib/dockermail/settings:/mail_settings \
-v /var/lib/dockermail/vmail:/vmail \
-v <path-to-certs>:/etc/ssl/server
dockermail_email_core
```
docker run -ti -d \
--name dockermail \
-p 25:25 \
-p 587:587 \
-p 143:143 \
-p 4190:4190 \
-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`.
Note that the certificates must be named `email.crt` and `email.key`.