Skip to content

Commit 5a6da9d

Browse files
committed
feat(email): add mailpit
1 parent daf8323 commit 5a6da9d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docker-compose.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ services:
5353
volumes:
5454
- postgres_data17:/var/lib/postgresql/data
5555

56+
mailpit:
57+
image: axllent/mailpit
58+
container_name: mailpit
59+
restart: unless-stopped
60+
volumes:
61+
- mailpit-data:/data
62+
ports:
63+
- 8025:8025
64+
environment:
65+
MP_MAX_MESSAGES: 5000
66+
MP_DATABASE: /data/mailpit.db
67+
MP_SMTP_AUTH_ACCEPT_ANY: 1
68+
MP_SMTP_AUTH_ALLOW_INSECURE: 1
69+
5670
web:
5771
<<: *base_server_setup
5872
command: ["/code/misc/dev/run_web.sh"]
@@ -67,3 +81,4 @@ services:
6781
volumes:
6882
postgres_data17:
6983
ipython_data_local:
84+
mailpit-data:

0 commit comments

Comments
 (0)