fix: 更新服务检查地址并添加容器名称

将consul检查地址从aktools改为ari-data-service以确保正确性
为whoami服务添加container_name配置
This commit is contained in:
fanfpy 2025-06-30 18:36:22 +08:00
parent 470d69d073
commit 4d766d2f1d
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
"service": {
"address": "data-service",
"check": {
"http": "http://aktools:8000/api/public/stock_bid_ask_em?symbol=000001",
"http": "http://ari-data-service:8000/api/public/stock_bid_ask_em?symbol=000001",
"interval": "10s",
"timeout": "5s"
},

View File

@ -120,3 +120,4 @@ services:
whoami:
image: traefik/whoami
container_name: whoami