提交 | 用户 | 时间
|
e7c126
|
1 |
version: '3' |
H |
2 |
services: |
|
3 |
iailab-gateway: |
|
4 |
image: iailab-gateway |
|
5 |
container_name: iailab-gateway |
|
6 |
environment: |
|
7 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
8 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
9 |
- SW_AGENT_NAME=iailab-gateway |
|
10 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
11 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
12 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
13 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
14 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
15 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
16 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
17 |
volumes: |
|
18 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
19 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
20 |
restart: always |
|
21 |
network_mode: host # 以主机网络环境运行 |
|
22 |
iailab-system: |
|
23 |
image: iailab-module-system-biz |
|
24 |
container_name: iailab-system |
|
25 |
environment: |
|
26 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
27 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
28 |
- SW_AGENT_NAME=iailab-gateway |
|
29 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
30 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
31 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
32 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
33 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
34 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
35 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
36 |
volumes: |
|
37 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
38 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
39 |
healthcheck: |
|
40 |
test: [ "CMD","curl","-f","http://localhost:48081" ] |
|
41 |
interval: 30s |
|
42 |
timeout: 10s |
|
43 |
retries: 5 |
|
44 |
start_period: 60s |
|
45 |
restart: always |
|
46 |
network_mode: host |
|
47 |
iailab-infra: |
|
48 |
image: iailab-module-infra-biz |
|
49 |
container_name: iailab-infra |
|
50 |
environment: |
|
51 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
52 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
53 |
- SW_AGENT_NAME=iailab-gateway |
|
54 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
55 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
56 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
57 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
58 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
59 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
60 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
61 |
volumes: |
|
62 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
63 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
64 |
restart: always |
|
65 |
network_mode: host |
|
66 |
healthcheck: |
|
67 |
test: [ "CMD","curl","-f","http://localhost:48082" ] |
|
68 |
interval: 30s |
|
69 |
timeout: 10s |
|
70 |
retries: 5 |
|
71 |
start_period: 60s |
|
72 |
depends_on: |
|
73 |
iailab-system: |
|
74 |
condition: service_healthy |
|
75 |
iailab-report: |
|
76 |
image: iailab-module-report-biz |
|
77 |
container_name: iailab-report |
|
78 |
environment: |
|
79 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
80 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
81 |
- SW_AGENT_NAME=iailab-gateway |
|
82 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
83 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
84 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
85 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
86 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
87 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
88 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
89 |
volumes: |
|
90 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
91 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
92 |
restart: always |
|
93 |
network_mode: host |
|
94 |
depends_on: |
|
95 |
iailab-infra: |
|
96 |
condition: service_healthy |
|
97 |
iailab-bpm: |
|
98 |
image: iailab-module-bpm-biz |
|
99 |
container_name: iailab-bpm |
|
100 |
environment: |
|
101 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
102 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
103 |
- SW_AGENT_NAME=iailab-gateway |
|
104 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
105 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
106 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
107 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
108 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
109 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
110 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
111 |
volumes: |
|
112 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
113 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
114 |
restart: always |
|
115 |
network_mode: host |
|
116 |
depends_on: |
|
117 |
iailab-infra: |
|
118 |
condition: service_healthy |
|
119 |
iailab-pay: |
|
120 |
image: iailab-module-pay-biz |
|
121 |
container_name: iailab-pay |
|
122 |
environment: |
|
123 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
124 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
125 |
- SW_AGENT_NAME=iailab-gateway |
|
126 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
127 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
128 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
129 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
130 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
131 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
132 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
133 |
volumes: |
|
134 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
135 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
136 |
restart: always |
|
137 |
network_mode: host |
|
138 |
depends_on: |
|
139 |
iailab-infra: |
|
140 |
condition: service_healthy |
|
141 |
iailab-mp: |
|
142 |
image: iailab-module-mp-biz |
|
143 |
container_name: iailab-mp |
|
144 |
environment: |
|
145 |
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间) |
|
146 |
- JAVA_TOOL_OPTIONS=-javaagent:/data/skywalking/skywalking-agent/skywalking-agent.jar # 配置skywalking |
|
147 |
- SW_AGENT_NAME=iailab-gateway |
|
148 |
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/** |
|
149 |
- SW_AGENT_COLLECTOR_BACKEND_SERVICES=[YOUR_SKYWALKING_ADDR] # 请替换 your.skywalking.addr 为你的 skywalking 地址 |
|
150 |
- SPRING_PROFILES_ACTIVE=test # 指定程序运行环境 |
|
151 |
- SPRING_CLOUD_NACOS_CONFIG_SERVER_ADDR=[YOUR_NACOS_ADDR] # 配置中心地址 |
|
152 |
- SPRING_CLOUD_NACOS_CONFIG_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
153 |
- SPRING_CLOUD_NACOS_SERVER_ADDR=[YOUR_NACOS_ADDR] # 注册中心地址 |
|
154 |
- SPRING_CLOUD_NACOS_DISCOVERY_NAMESPACE=[YOUR_NAMESPACE] # 命名空间 |
|
155 |
volumes: |
|
156 |
- /docker/iailab-cloud/logs:/root/logs/ |
|
157 |
- /data/skywalking/skywalking-agent:/data/skywalking/skywalking-agent |
|
158 |
restart: always |
|
159 |
network_mode: host |
|
160 |
depends_on: |
|
161 |
iailab-infra: |
|
162 |
condition: service_healthy |