1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/mailhog/docker-compose.yml
2022-02-15 15:24:54 +08:00

15 lines
300 B
YAML

version: "3.8"
services:
mailhog:
image: mailhog/mailhog
ports:
- "1025:1025"
- "8025:8025"
volumes:
- ./data:/data
environment:
- MH_STORAGE=maildir
- MH_MAILDIR_PATH=/data
- MH_OUTGOING_SMTP=/data/outgoing-smtp.json
restart: unless-stopped