fix: 更新服务检查地址并添加容器名称
将consul检查地址从aktools改为ari-data-service以确保正确性 为whoami服务添加container_name配置
This commit is contained in:
parent
470d69d073
commit
4d766d2f1d
@ -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"
|
||||
},
|
||||
|
||||
@ -120,3 +120,4 @@ services:
|
||||
|
||||
whoami:
|
||||
image: traefik/whoami
|
||||
container_name: whoami
|
||||
|
||||
Loading…
Reference in New Issue
Block a user