-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
60 lines (55 loc) · 1.52 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
version: '3'
services:
eureka:
image: 172.29.0.13:8082/eureka-server:v5
ports:
- 10080:10080
network_mode: "host"
restart: always
config-server:
image: 172.29.0.13:8082/config-server:v5
restart: always
ports:
- "10089"
network_mode: "host"
depends_on:
- eureka
authorize-server:
image: 172.29.0.13:8082/authorize-server:v5
restart: always
ports:
- "10087"
network_mode: "host"
environment:
- mysql.address=192.168.134.9
- redis.address=192.168.134.9
depends_on:
- eureka
- config-server
command: ["sh","/wait-for-it.sh","192.168.134.9:10089","-s","-t","30000","--","java","-jar","/home/authorize-server.jar"]
server-gateway:
image: 172.29.0.13:8082/server-gateway:v5
restart: always
ports:
- "10088"
network_mode: "host"
environment:
- mysql.address=192.168.134.9
- redis.address=192.168.134.9
depends_on:
- eureka
- config-server
command: ["sh","/wait-for-it.sh","192.168.134.9:10089","-s","-t","30000","--","java","-jar","/home/server-gateway.jar"]
framework-system-cloud:
image: 172.29.0.13:8082/framework-system-cloud:v5
restart: always
ports:
- "10081"
network_mode: "host"
environment:
- mysql.address=192.168.134.9
- redis.address=192.168.134.9
depends_on:
- eureka
- config-server
command: ["sh","/wait-for-it.sh","192.168.134.9:10089","-s","-t","30000","--","java","-jar","/home/framework-system-cloud.jar"]