Commit 614c3aa48e4fe9830ce79bae85dcfac9859189f2
1 parent
53c17c86
no message
Showing
1 changed file
with
27 additions
and
1 deletions
training-service.yml
| @@ -170,6 +170,19 @@ eureka: | @@ -170,6 +170,19 @@ eureka: | ||
| 170 | serviceUrl: | 170 | serviceUrl: |
| 171 | defaultZone: http://discovery:15200/eureka/ | 171 | defaultZone: http://discovery:15200/eureka/ |
| 172 | 172 | ||
| 173 | +#xxl-job | ||
| 174 | +xxl: | ||
| 175 | + job: | ||
| 176 | + admin: | ||
| 177 | + addresses: http://192.168.30.61:30140/xxl-job-admin | ||
| 178 | + executor: | ||
| 179 | + appname: training-server | ||
| 180 | + ip: | ||
| 181 | + port: 8888 | ||
| 182 | + logpath: /app/logs | ||
| 183 | + logretentiondays: -1 | ||
| 184 | + accessToken: | ||
| 185 | + | ||
| 173 | --- | 186 | --- |
| 174 | server: | 187 | server: |
| 175 | port: 16700 | 188 | port: 16700 |
| @@ -245,4 +258,17 @@ eureka: | @@ -245,4 +258,17 @@ eureka: | ||
| 245 | registerWithEureka: true | 258 | registerWithEureka: true |
| 246 | fetchRegistry: true | 259 | fetchRegistry: true |
| 247 | serviceUrl: | 260 | serviceUrl: |
| 248 | - defaultZone: http://discovery:15200/eureka/ | ||
| 249 | \ No newline at end of file | 261 | \ No newline at end of file |
| 262 | + defaultZone: http://discovery:15200/eureka/ | ||
| 263 | + | ||
| 264 | +#xxl-job | ||
| 265 | +xxl: | ||
| 266 | + job: | ||
| 267 | + admin: | ||
| 268 | + addresses: http://job-service.gaoxiaobang.com/xxl-job-admin | ||
| 269 | + executor: | ||
| 270 | + appname: training-server | ||
| 271 | + ip: | ||
| 272 | + port: 8888 | ||
| 273 | + logpath: /app/logs | ||
| 274 | + logretentiondays: -1 | ||
| 275 | + accessToken: | ||
| 250 | \ No newline at end of file | 276 | \ No newline at end of file |