forked from prontera/spring-cloud-rest-tcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
business-ms-compose.yml
70 lines (69 loc) · 1.78 KB
/
business-ms-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:
jce_java:
build: ./docker-jce-jre
image: pronter/jce-java
read_only: true
command: echo "jce java"
environment:
- TZ=Asia/Shanghai
account:
build: ./account-ms
image: prontera/account-ms
ports:
- "10014:10014"
- "10248:10248"
depends_on:
- 'jce_java'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10888"]
interval: 10s
timeout: 5s
retries: 3
environment:
- TZ=Asia/Shanghai
order:
build: ./order-ms
image: prontera/order-ms
ports:
- "8295:8295"
- "10848:10848"
depends_on:
- 'jce_java'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10888"]
interval: 10s
timeout: 5s
retries: 3
environment:
- TZ=Asia/Shanghai
product:
build: ./product-ms
image: prontera/product-ms
ports:
- "8040:8040"
- "10912:10912"
depends_on:
- 'jce_java'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10888"]
interval: 10s
timeout: 5s
retries: 3
environment:
- TZ=Asia/Shanghai
tcc_coordinator:
build: ./tcc-coordinator-ms
image: prontera/tcc-coordinator-ms
ports:
- "11020:11020"
- "12841:12841"
depends_on:
- 'jce_java'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10888"]
interval: 10s
timeout: 5s
retries: 3
environment:
- TZ=Asia/Shanghai