后端端口由5002改为5052,避免trae端口冲突
This commit is contained in:
1 parent
8c8a65d838
commit
da42832087
14 files changed
+30
-19
No files matched your search
+2
-2
@@ -196,7 +196,7 @@ show_entry_urls() {
|
||||
host_ip="$(get_host_ip)"
|
||||
gateway_port="$(get_mapped_port "nginx-gateway" "8881/tcp")"
|
||||
frontend_port="$(get_mapped_port "hxops-frontend" "80/tcp")"
|
||||
backend_port="$(get_mapped_port "hxops-backend" "5002/tcp")"
|
||||
backend_port="$(get_mapped_port "hxops-backend" "5052/tcp")"
|
||||
|
||||
echo "== 网站入口地址 =="
|
||||
|
||||
@@ -221,7 +221,7 @@ show_entry_urls() {
|
||||
backend_url="http://${host_ip}:${backend_port}/api/agents"
|
||||
echo " 后端API示例: ${backend_url} [HTTP $(http_probe_code "${backend_url}")]"
|
||||
else
|
||||
echo " 后端API示例: hxops-backend:5002 未映射到宿主机"
|
||||
echo " 后端API示例: hxops-backend:5052 未映射到宿主机"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user