1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-06-08 02:36:29 +02:00

Merge pull request #181 from Chris54721/patch-1

Merge "volumes" option in docker-compose.yml
This commit is contained in:
Thomas VIAL 2016-05-08 19:38:01 +02:00
commit 2465bf6a7f
2 changed files with 2 additions and 4 deletions

View File

@ -50,14 +50,13 @@ Adapt this file with your FQDN.
hostname: mail hostname: mail
domainname: domain.com domainname: domain.com
container_name: mail container_name: mail
volumes:
- maildata:/var/mail
ports: ports:
- "25:25" - "25:25"
- "143:143" - "143:143"
- "587:587" - "587:587"
- "993:993" - "993:993"
volumes: volumes:
- maildata:/var/mail
- ./config/:/tmp/docker-mailserver/ - ./config/:/tmp/docker-mailserver/
volumes: volumes:

View File

@ -6,14 +6,13 @@ services:
hostname: mail hostname: mail
domainname: domain.com domainname: domain.com
container_name: mail container_name: mail
volumes:
- maildata:/var/mail
ports: ports:
- "25:25" - "25:25"
- "143:143" - "143:143"
- "587:587" - "587:587"
- "993:993" - "993:993"
volumes: volumes:
- maildata:/var/mail
- ./config/:/tmp/docker-mailserver/ - ./config/:/tmp/docker-mailserver/
environment: environment:
- ENABLE_FAIL2BAN=1 - ENABLE_FAIL2BAN=1