-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.prod.yml
63 lines (58 loc) · 1.18 KB
/
docker-compose.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "3.9" # optional since v1.27.0
services:
message-bus:
image: rabbitmq:3
container_name: 'message-bus'
ports:
- 5672:5672
- 15672:15672
webapi:
image: mendasium/tasque-backend
container_name: webapi
ports:
- "5000:5000"
env_file:
- ./.env/backend.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
# volumes:
# - .:/ log volume!
depends_on:
- message-bus
notifications:
image: mendasium/tasque-notiifications
container_name: notifications
ports:
- "5001:5001"
env_file:
- ./.env/notifications.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
# volumes:
# - .:/ log volume!
depends_on:
- message-bus
frontend:
image: mendasium/tasque-frontend
container_name: frontend
ports:
- "80:80"
- "443:443"
env_file:
- ./.env/frontend.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
depends_on:
- notifications
- webapi
# volumes:
# logvolume01: {}