-
Notifications
You must be signed in to change notification settings - Fork 74
/
docker-compose-v3.yml
124 lines (109 loc) · 2.43 KB
/
docker-compose-v3.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
119
120
121
122
123
version: '3'
services:
mysql:
image: mysql:5.6.35
ports:
- "3306:3306"
volumes:
- /data/mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 1234
rabbitmq:
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
discovery:
image: erdaoya/cloud-server-discovery
ports:
- "9001:9001"
environment:
SERVICE_HOST: discovery
SERVICE_PORT: 9001
config:
image: erdaoya/cloud-server-config
ports:
- "9000:9000"
environment:
SERVICE_PORT: 9000
REGISTRY_URL: http://discovery:9001/eureka
deploy:
replicas: 2
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
zipkin:
image: erdaoya/cloud-zipkin-ui
ports:
- "9012:9012"
environment:
SERVICE_PORT: 9012
REGISTRY_URL: http://discovery:9001/eureka
user:
image: erdaoya/cloud-service-user
ports:
- "9002:9002"
environment:
SERVICE_PORT: 9002
REGISTRY_URL: http://discovery:9001/eureka
deploy:
replicas: 2
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
trade:
image: erdaoya/cloud-service-trade
ports:
- "9007:9007"
environment:
SERVICE_PORT: 9007
REGISTRY_URL: http://discovery:9001/eureka
ext:
image: erdaoya/cloud-service-client
ports:
- "9005:9005"
environment:
SERVICE_PORT: 9005
REGISTRY_URL: http://discovery:9001/eureka
gateway:
image: erdaoya/cloud-api-gateway
ports:
- "9006:9006"
environment:
SERVICE_PORT: 9006
REGISTRY_URL: http://discovery:9001/eureka
turbine:
image: erdaoya/cloud-turbine-dashboard
ports:
- "9010:9010"
environment:
SERVICE_PORT: 9010
REGISTRY_URL: http://discovery:9001/eureka
admin:
image: erdaoya/cloud-admin-ui
ports:
- "9003:9003"
environment:
SERVICE_PORT: 9003
REGISTRY_URL: http://discovery:9001/eureka
TURBINE_URL: http://discovery:9010/turbine.stream
comx:
image: erdaoya/cloud-service-comx
ports:
- "9019:9019"
environment:
SERVICE_PORT: 9019
REGISTRY_URL: http://discovery:9001/eureka
# volumes:
# - "/www:/www"
#