Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 539 Bytes

File metadata and controls

24 lines (19 loc) · 539 Bytes

docker-postfix

Postfix on a Docker container

This repository contains a Dockerfile to build a Docker image with Postfix installed.

The Docker image is available in Docker Hub.

Docker compose usage example

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