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