File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ services:
10
10
depends_on :
11
11
- postgres
12
12
- redis
13
+ - mailhog
13
14
environment :
14
15
- DB_HOST=postgres
15
16
- DB_PASSWORD=abc123
16
17
- REDIS_HOST=redis
18
+ - EMAIL_HOST=mailhog
17
19
- PYTHONDONTWRITEBYTECODE=1
18
20
volumes :
19
21
- ./src:/src
@@ -26,11 +28,13 @@ services:
26
28
image : allocation-image
27
29
depends_on :
28
30
- redis_pubsub
31
+ - mailhog
29
32
environment :
30
33
- DB_HOST=postgres
31
34
- DB_PASSWORD=abc123
32
35
- API_HOST=api
33
36
- REDIS_HOST=redis
37
+ - EMAIL_HOST=mailhog
34
38
- PYTHONDONTWRITEBYTECODE=1
35
39
- FLASK_APP=allocation/entrypoints/flask_app.py
36
40
- FLASK_DEBUG=1
@@ -59,3 +63,8 @@ services:
59
63
ports :
60
64
- " 63791:6379"
61
65
66
+ mailhog :
67
+ image : mailhog/mailhog
68
+ ports :
69
+ - " 11025:1025"
70
+ - " 18025:8025"
You can’t perform that action at this time.
0 commit comments