From 78cff29b846362c001772990c82b1ce1819635ba Mon Sep 17 00:00:00 2001 From: NicolaCage Date: Tue, 18 Jan 2022 19:17:40 +0800 Subject: [PATCH] mod: code --- DEPLOY.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index f4352421..f452875a 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -75,10 +75,19 @@ Attention: the file under these packages is compiled under Linux environment, ca port: 9669, // change to running nebula graph port }, ``` + +- Modify proxy setting: `./vendors/config-release.yaml` + ``` + port: 7003 + proxy: + gateway: + target: "127.0.0.1:8090" // change gateway service proxy + prometheus: + target: "127.0.0.1:9091" // change prometheus service proxy + ``` - Start: ```bash - $ cd nebula-graph-dashboard - $ npm run start + $ ./dashboard & ``` - service address: http://127.0.0.1:7003 @@ -94,8 +103,7 @@ $ kill $(lsof -t -i :9200) # stop nebula-stats-exporter service $ kill $(lsof -t -i :9100) # stop node-exporter service $ kill $(lsof -t -i :9090) # stop prometheus service $ kill $(lsof -t -i :8090) # stop nebula-http-gateway -$ cd nebula-graph-dashboard -$ npm run stop # stop nebula-graph-dashboard +$ kill $(lsof -t -i :7003) # stop nebula-graph-dashboard ```