Skip to content

Commit 0b174d7

Browse files
authored
✨ Add mailcatcher configuration (fastapi#1244)
1 parent 8d04f5d commit 0b174d7

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)