-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
56 lines (49 loc) · 996 Bytes
/
docker-compose.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
version: '3.4'
services:
api:
image: ${DOCKER_REGISTRY-}api
build:
context: .
dockerfile: API/Dockerfile
ports:
- "8080:8080"
- "8081:8081"
depends_on:
- email_service
- log_service
- mongo
- garnet
- rabbit-mq
email_service:
image: ${DOCKER_REIGSTRY-}email_service
build:
context: .
dockerfile: Services/Email-Service/Dockerfile
depends_on:
- mongo
- rabbit-mq
log_service:
image: ${DOCKER_REIGSTRY-}log_service
build:
context: .
dockerfile: Services/Log-Service/Dockerfile
depends_on:
- mongo
- rabbit-mq
mongo:
image: mongodb/mongodb-community-server:latest
ports:
- "27017:27017"
volumes:
- "C:/data/db:/data/db"
garnet:
build:
context: .
dockerfile: Garnet/Dockerfile
ports:
- "6379:6379"
rabbit-mq:
image: rabbitmq:3.13-management
ports:
- "15672:15672"
- "5672:5672"