Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
services:
mailhog:
image: mailhog/mailhog
container_name: mailhog
ports:
- "1025:1025" # SMTP port
- "8025:8025" # Web UI port
environment:
- MH_STORAGE=maildir
volumes:
- ./maildir:/maildir
restart: unless-stopped
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "8025"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s