mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Add syntax highlighting for YAML code snippets. (#314)
Fenced code blocks support YAML syntax highlighting.
This commit is contained in:
parent
d9e1c0ad61
commit
cc2043ba88
40
README.md
40
README.md
|
@ -36,27 +36,29 @@ Before you open an issue, please have a look this `README`, the [Wiki](https://g
|
||||||
|
|
||||||
Adapt this file with your FQDN. Install [docker-compose](https://docs.docker.com/compose/) in the version `1.6` or higher.
|
Adapt this file with your FQDN. Install [docker-compose](https://docs.docker.com/compose/) in the version `1.6` or higher.
|
||||||
|
|
||||||
version: '2'
|
```yaml
|
||||||
|
version: '2'
|
||||||
services:
|
|
||||||
mail:
|
|
||||||
image: tvial/docker-mailserver:latest
|
|
||||||
# build: .
|
|
||||||
hostname: mail
|
|
||||||
domainname: domain.com
|
|
||||||
container_name: mail
|
|
||||||
ports:
|
|
||||||
- "25:25"
|
|
||||||
- "143:143"
|
|
||||||
- "587:587"
|
|
||||||
- "993:993"
|
|
||||||
volumes:
|
|
||||||
- maildata:/var/mail
|
|
||||||
- ./config/:/tmp/docker-mailserver/
|
|
||||||
|
|
||||||
|
services:
|
||||||
|
mail:
|
||||||
|
image: tvial/docker-mailserver:latest
|
||||||
|
# build: .
|
||||||
|
hostname: mail
|
||||||
|
domainname: domain.com
|
||||||
|
container_name: mail
|
||||||
|
ports:
|
||||||
|
- "25:25"
|
||||||
|
- "143:143"
|
||||||
|
- "587:587"
|
||||||
|
- "993:993"
|
||||||
volumes:
|
volumes:
|
||||||
maildata:
|
- maildata:/var/mail
|
||||||
driver: local
|
- ./config/:/tmp/docker-mailserver/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
maildata:
|
||||||
|
driver: local
|
||||||
|
```
|
||||||
|
|
||||||
#### Create your mail accounts
|
#### Create your mail accounts
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue