sendmailanalyzer/docker/docker-compose.yml.example
Lukas Elsner b42eb9f01b add support for dockerization
This commit adds a buildable Dockerfile based on the httpd apache2
docker image with sa_cache cron support built in.
It also comes with a docker-compose example file.
2020-04-28 12:02:38 +02:00

11 lines
291 B
Text

version: '2'
services:
sma:
restart: always
build: .
expose:
- 80
volumes:
- /path/to/mail.log:/var/log/mail.log:ro
- /path/to/data:/usr/local/sendmailanalyzer/data
- /path/to/sendmailanalyzer.conf:/usr/local/sendmailanalyzer/sendmailanalyzer.conf