AriStockAI/consul/config/whoami.json
fanfpy 470d69d073 refactor(consul): 更新服务配置和docker-compose设置
- 修改data-service的consul检查端口为8000
- 将whoami服务的traefik配置从tags迁移到meta
- 简化docker-compose.yml,注释掉未使用的服务
2025-06-30 18:16:57 +08:00

15 lines
314 B
JSON

{
"service": {
"name": "whoami",
"port": 80,
"meta": {
"traefik_enable": "true",
"traefik_http_routers_whoami_rule": "PathPrefix(`/whoami`)",
"traefik_http_routers_whoami_entrypoints": "web"
},
"check": {
"http": "http://whoami:80",
"interval": "10s"
}
}
}