- 将Traefik路由规则从下划线格式改为点分隔格式 - 更新whoami服务配置,使用tags替代meta并添加中间件配置 - 修复user-service和recommend-service中的拼写错误
17 lines
377 B
JSON
17 lines
377 B
JSON
{
|
|
"service": {
|
|
"address": "quant-service",
|
|
"check": {
|
|
"http": "http://quant-service:8001/health",
|
|
"interval": "10s",
|
|
"timeout": "5s"
|
|
},
|
|
"id": "quant-service-1",
|
|
"meta": {
|
|
"traefik_enable": "true",
|
|
"traefik.http.routers.quant-service.rule": "PathPrefix('/api/quant')"
|
|
},
|
|
"name": "quant-service",
|
|
"port": 8001
|
|
}
|
|
} |