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