I’m launching MailHog in Docker Compose on a VM with Ubuntu.
My problem is that I want authentication, and I don’t know where I can configure it.
Here’s my YAML config for MailHog:
version: "3"
services:
mailhog:
image: mailhog/mailhog:latest
restart: always
ports:
- "1025:1025"
- "8025:8025"
Is there anyone, who’s know where I can set authentication?
I tried this one. Unfortunately I don’t know how to configure this correctly
volumes:
- ./maildir:/maildir
- ./auth:/auth
environment:
MH_STORAGE: maildir
MH_MAILDIR_PATH: /maildir
MH_AUTH_FILE: /auth/authfile
New contributor
JoF is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.