Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Last active December 19, 2022 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james2doyle/b9d7be681517725132a979722fb102f0 to your computer and use it in GitHub Desktop.
Save james2doyle/b9d7be681517725132a979722fb102f0 to your computer and use it in GitHub Desktop.
Run inbucket locally in Docker to capture and debug emails without sending them
# docker run -d --name inbucket -p 9000:9000 -p 2500:2500 -p 1100:1100 inbucket/inbucket
# open http://localhost:9090/
version: '3.8'
services:
inbucket:
container_name: inbucket
image: inbucket/inbucket:3.0.3
ports:
- '2500:2500' # SMTP
- '9090:9000' # web interface
- '1100:1100' # POP3
# SMTP_ADMIN_EMAIL=admin@example.com
# SMTP_HOST=inbucket
# SMTP_PORT=2500
# SMTP_USER=fake_mail_user
# SMTP_PASS=fake_mail_password
# SMTP_SENDER_NAME=fake_sender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment