forked from mploed/ddd-with-spring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (70 loc) · 1.8 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3'
services:
ddd-rabbit-mq:
container_name: ddd-rabbit-mq
image: rabbitmq:3
expose:
- 5672
networks:
- ddd-with-spring-network
logging:
driver: json-file
credit-agency:
container_name: ddd-with-spring-creditagency
build:
context: credit-agency
dockerfile: Dockerfile
image: ddd-with-spring-creditagency:latest
expose:
- 9002
ports:
- "9002:9002"
networks:
- ddd-with-spring-network
depends_on:
- ddd-rabbit-mq
links:
- ddd-rabbit-mq:rabbit-mq
logging:
driver: json-file
scoring:
container_name: ddd-with-spring-scoring
build:
context: scoring
dockerfile: Dockerfile
image: ddd-with-spring-scoring:latest
expose:
- 9001
ports:
- "9001:9001"
networks:
- ddd-with-spring-network
depends_on:
- ddd-rabbit-mq
- credit-agency
links:
- ddd-rabbit-mq:rabbit-mq
- credit-agency:credit-agency
logging:
driver: json-file
credit-sales-funnel:
container_name: ddd-with-spring-creditsalesfunnel
build:
context: credit-sales-funnel
dockerfile: Dockerfile
image: ddd-with-spring-creditsalesfunnel:latest
expose:
- 9000
ports:
- "9000:9000"
networks:
- ddd-with-spring-network
depends_on:
- ddd-rabbit-mq
links:
- ddd-rabbit-mq:rabbit-mq
logging:
driver: json-file
networks:
ddd-with-spring-network:
driver: bridge