mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
090bccd1fc
remove shadowing volume config
26 lines
415 B
Plaintext
26 lines
415 B
Plaintext
version: '2'
|
|
|
|
services:
|
|
mail:
|
|
image: tvial/docker-mailserver:v2
|
|
hostname: mail
|
|
domainname: domain.com
|
|
container_name: mail
|
|
volumes:
|
|
- maildata:/var/mail
|
|
ports:
|
|
- "25:25"
|
|
- "143:143"
|
|
- "587:587"
|
|
- "993:993"
|
|
volumes:
|
|
- ./config/:/tmp/docker-mailserver/
|
|
environment:
|
|
- ENABLE_FAIL2BAN=1
|
|
cap_add:
|
|
- NET_ADMIN
|
|
|
|
volumes:
|
|
maildata:
|
|
driver: local
|