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