Add syntax highlighting for docker-compose.yml
This commit is contained in:
parent
a1b486a7b9
commit
9149f5afa7
|
@ -8,27 +8,29 @@
|
||||||
|
|
||||||
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 New Issue