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