mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
e4bab5b996
* add support to forward logs to ELK stack. * from docker elk customize image with * https://github.com/whyscream/postfix-grok-patterns * custom imput * override syslog filter. * fix typo. * Explicit forwarder vars and messages. * add amavis grok * add dovecot grok * add geoip db * add logstash geoip plugin * add custom amavis grok from @tomav. * switch to filebeats input * refactor syslog filter * add filebeat * add template config * replace rsyslog with filebeat.
35 lines
563 B
Plaintext
35 lines
563 B
Plaintext
version: '2'
|
|
|
|
services:
|
|
mail:
|
|
image: tvial/docker-mailserver:v2
|
|
hostname: mail
|
|
domainname: domain.com
|
|
container_name: mail
|
|
links:
|
|
- elk
|
|
ports:
|
|
- "25:25"
|
|
- "143:143"
|
|
- "587:587"
|
|
- "993:993"
|
|
volumes:
|
|
- maildata:/var/mail
|
|
- ./config/:/tmp/docker-mailserver/
|
|
environment:
|
|
- ENABLE_FAIL2BAN=1
|
|
- ENABLE_ELK_FORWARDER=1
|
|
cap_add:
|
|
- NET_ADMIN
|
|
elk:
|
|
build: elk
|
|
ports:
|
|
- "5601:5601"
|
|
- "9200:9200"
|
|
- "5044:5044"
|
|
- "5000:5000"
|
|
|
|
volumes:
|
|
maildata:
|
|
driver: local
|