From 0faffd0be0fa123c832b1a276656879dc32ee410 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Tue, 3 Feb 2026 03:10:47 +0800 Subject: [PATCH] feat: complete end-to-end one-shell installation with summary output --- scripts/server-install.sh | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/scripts/server-install.sh b/scripts/server-install.sh index f21c611..ee0e33f 100644 --- a/scripts/server-install.sh +++ b/scripts/server-install.sh @@ -130,7 +130,24 @@ if [ -f "./configure" ]; then fi fi -echo -e "${GREEN}Installation and configuration successful!${NC}" -echo -e "Next steps:" -echo -e " cd ${INSTALL_DIR}" -echo -e " ./deploy.yml # Run this to start the actual deployment" +# Run Deployment automatically +if [ -f "./deploy.yml" ]; then + echo -e "${BLUE}Starting deployment...${NC}" + ./deploy.yml || { echo -e "${RED}Error: Deployment failed${NC}"; exit 1; } +fi + +echo -e "\n${GREEN}Successfully deployed observability.svc.plus!${NC}" +echo -e "----------------------------------------------------------------" +echo -e "URL : https://${DOMAIN}" +echo -e "Insight : https://${DOMAIN}/insight" +echo -e "Grafana : https://${DOMAIN}/grafana" +echo -e "User : admin" +echo -e "Password : pigsty" +echo -e "----------------------------------------------------------------" +echo -e "OTLP (gRPC) : http://${DOMAIN}:4317" +echo -e "OTLP (HTTP) : http://${DOMAIN}:4318" +echo -e "VictoriaMetrics : http://${DOMAIN}:8428" +echo -e "----------------------------------------------------------------" +echo -e "查询 (PromQL) : http://${DOMAIN}:8428/api/v1/query" +echo -e "写入 (Remote) : http://${DOMAIN}:8428/api/v1/write" +echo -e "----------------------------------------------------------------"