Docker Image with Postfix Mail Server
- Alpine base image for small Docker image size
- Postfix mail server
petk/postfix:latest
(Dockerfile)
Create a docker-compose.yml
for your setup:
version: '3.2'
services:
postfix:
image: petk/postfix
container_name: postfix
restart: always
ports:
- 25:25
networks:
- your-network
environment:
- MYHOSTNAME=my.hostname.tld
- MYDOMAIN=mydomain.tld
Contributions are most welcome. This repository is released under the MIT license.