-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
121 lines (103 loc) · 2.12 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: '2.1'
services:
postgresdb:
build: storage/postgresdb
env_file:
- common.env
ports:
- 5433:5432
config-server:
build: system/config
ports:
- 8111:8111
migration:
build: storage/migration
env_file:
- common.env
ports:
- 9999:9999
depends_on:
- postgresdb
links:
- postgresdb
discovery-server:
build: system/discovery-server
env_file:
- common.env
ports:
- 2222:2222
depends_on:
- config-server
links:
- config-server
authentication-server:
build: system/authentication
env_file:
- common.env
environment:
EXTRA_JAR_ARGS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8187
ports:
- 8087:8087
- 8187:8187 #debug port
depends_on:
- postgresdb
- discovery-server
links:
- config-server
- postgresdb
- discovery-server
product-service:
build: services/product
env_file:
- common.env
environment:
EXTRA_JAR_ARGS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8180
ports:
- 8080:8080
- 8180:8180 #debug port
depends_on:
- authentication-server
links:
- config-server
- discovery-server
- postgresdb
- authentication-server
order-service:
build: services/order
env_file:
- common.env
environment:
EXTRA_JAR_ARGS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8181
ports:
- 8081:8081
- 8181:8181
depends_on:
- authentication-server
links:
- config-server
- discovery-server
- postgresdb
- authentication-server
gateway:
build: system/gateway
env_file:
- common.env
ports:
- 8765:8765
depends_on:
- product-service
- order-service
links:
- config-server
- discovery-server
monitor:
build: system/monitoring
env_file:
- common.env
ports:
- 8000:8000
depends_on:
- discovery-server
links:
- config-server
- discovery-server