Add syntax highlighting for docker-compose.yml

This commit is contained in:
Josef Friedrich 2016-09-07 19:41:07 +02:00
parent a1b486a7b9
commit 9149f5afa7
1 changed files with 21 additions and 19 deletions

View File

@ -8,9 +8,10 @@
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: services:
mail: mail:
image: tvial/docker-mailserver:latest image: tvial/docker-mailserver:latest
# build: . # build: .
@ -26,9 +27,10 @@ Adapt this file with your FQDN. Install [docker-compose](https://docs.docker.com
- maildata:/var/mail - maildata:/var/mail
- ./config/:/tmp/docker-mailserver/ - ./config/:/tmp/docker-mailserver/
volumes: volumes:
maildata: maildata:
driver: local driver: local
```
#### Create your mail accounts #### Create your mail accounts