AriStockAI/consul/config/dev/data-service.json
fanfpy 611a26a59a refactor(config): 重构配置文件结构为环境分离模式
将consul和traefik的配置文件按dev和prod环境分离
删除旧的单一配置文件,新增环境特定配置
更新docker-compose.yml以支持环境配置切换
2025-07-06 16:19:32 +08:00

18 lines
477 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",
"tags": [
"traefik.enable=true",
"traefik.http.routers.data-service.rule=Host(\"data.aristockai.com\")",
"traefik.http.routers.data-service.entrypoints=web"
],
"name": "data-service",
"port": 8000
}
}