Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514b6a4 commit 51a00dfCopy full SHA for 51a00df
docker-compose.yml
@@ -10,10 +10,12 @@ services:
10
depends_on:
11
- postgres
12
- redis
13
+ - mailhog
14
environment:
15
- DB_HOST=postgres
16
- DB_PASSWORD=abc123
17
- REDIS_HOST=redis
18
+ - EMAIL_HOST=mailhog
19
- PYTHONDONTWRITEBYTECODE=1
20
volumes:
21
- ./src:/src
@@ -26,11 +28,13 @@ services:
26
28
image: allocation-image
27
29
30
- redis_pubsub
31
32
33
34
35
- API_HOST=api
36
37
38
39
- FLASK_APP=allocation/entrypoints/flask_app.py
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"
0 commit comments