This repository contains a Dockerfile to build a Docker image with Postfix installed.
The Docker image is available in Docker Hub.
services:
postfix:
image: pedbarbosa/postfix
container_name: postfix
ports:
- "25:25"
- "587:587"
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/log/maillog:/var/log/maillog
- ./config:/config
restart: always