-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
87 lines (86 loc) · 2.41 KB
/
docker-compose.yml
File metadata and controls
87 lines (86 loc) · 2.41 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3.1'
services:
spring-mvc:
image: docker.io/library/spring-mvc:0.0.1-SNAPSHOT
ports:
- "9000:9000"
environment:
SPRING_DATA_MONGODB_HOST: mongo-mvc
SPRING_DATA_MONGODB_PORT: 27017
BACKEND_URL: "http://spring-mvc-backend:9001"
depends_on:
- mongo-mvc
- spring-mvc-backend
mongo-mvc:
image: mongo
ports:
- "9100:27017"
spring-mvc-backend:
image: docker.io/library/spring-mvc-backend:0.0.1-SNAPSHOT
ports:
- "9001:9001"
environment:
SPRING_DATA_MONGODB_HOST: mongo-mvc-backend
SPRING_DATA_MONGODB_PORT: 27017
depends_on:
- mongo-mvc-backend
mongo-mvc-backend:
image: mongo
ports:
- "9101:27017"
spring-webflux-reactor:
image: docker.io/library/spring-webflux-reactor:0.0.1-SNAPSHOT
ports:
- "9002:9002"
environment:
SPRING_DATA_MONGODB_HOST: mongo-webflux-reactor
SPRING_DATA_MONGODB_PORT: 27017
BACKEND_URL: "http://spring-webflux-reactor-backend:9003"
depends_on:
- mongo-webflux-reactor
- spring-webflux-reactor-backend
mongo-webflux-reactor:
image: mongo
ports:
- "9102:27017"
spring-webflux-reactor-backend:
image: docker.io/library/spring-webflux-reactor-backend:0.0.1-SNAPSHOT
ports:
- "9003:9003"
environment:
SPRING_DATA_MONGODB_HOST: mongo-webflux-reactor-backend
SPRING_DATA_MONGODB_PORT: 27017
depends_on:
- mongo-webflux-reactor-backend
mongo-webflux-reactor-backend:
image: mongo
ports:
- "9103:27017"
spring-webflux-coroutines:
image: docker.io/library/spring-webflux-coroutines:0.0.1-SNAPSHOT
ports:
- "9004:9004"
environment:
SPRING_DATA_MONGODB_HOST: mongo-webflux-coroutines
SPRING_DATA_MONGODB_PORT: 27017
BACKEND_URL: "http://spring-webflux-coroutines-backend:9005"
depends_on:
- mongo-webflux-coroutines
- spring-webflux-coroutines-backend
mongo-webflux-coroutines:
image: mongo
ports:
- "9104:27017"
spring-webflux-coroutines-backend:
image: docker.io/library/spring-webflux-coroutines-backend:0.0.1-SNAPSHOT
ports:
- "9005:9005"
environment:
SPRING_DATA_MONGODB_HOST: mongo-webflux-coroutines-backend
SPRING_DATA_MONGODB_PORT: 27017
depends_on:
- mongo-webflux-coroutines-backend
mongo-webflux-coroutines-backend:
image: mongo
ports:
- "9105:27017"