Skip to content

Commit b15cb37

Browse files
committed
feat: add mailcatcher as per fastapi/full-stack-fastapi-template#1244
1 parent 029ed92 commit b15cb37

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docker-compose.override.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,17 @@ services:
6262
INSTALL_DEV: ${INSTALL_DEV-true}
6363
# command: sleep infinity # Infinite loop to keep container alive doing nothing
6464
command: /start-reload.sh
65+
environment:
66+
SMTP_HOST: "mailcatcher"
67+
SMTP_PORT: "1025"
68+
SMTP_TLS: "false"
69+
EMAILS_FROM_EMAIL: "[email protected]"
70+
71+
mailcatcher:
72+
image: schickling/mailcatcher
73+
ports:
74+
- "1080:1080"
75+
- "1025:1025"
6576

6677
frontend:
6778
restart: "no"

0 commit comments

Comments
 (0)