-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (47 loc) · 956 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
version: '3.4'
services:
rabbitmq:
image: rabbitmq:3-management
networks:
- mynetwork
ports:
- 5672:5672
- 15672:15672
customerservice:
image: simpleoutboxnetcore/customerservice:1.0
build:
context: src/
dockerfile: CustomerService/Dockerfile
depends_on:
- rabbitmq
networks:
- mynetwork
ports:
- 5101:80
accountingservice:
image: simpleoutboxnetcore/accountingservice:1.0
build:
context: src/
dockerfile: AccountingService/Dockerfile
depends_on:
- rabbitmq
- customerservice
networks:
- mynetwork
ports:
- 5102:80
taskservice:
image: simpleoutboxnetcore/taskservice:1.0
build:
context: src/
dockerfile: TaskService/Dockerfile
depends_on:
- rabbitmq
- customerservice
ports:
- 5103:80
networks:
- mynetwork
networks:
mynetwork:
driver: bridge