From bc67dec34b975724055cc67ac6c4ae6f779b6ef6 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Fri, 1 Dec 2023 14:19:39 +0530 Subject: [PATCH 1/2] chore: in progress changes --- monitoring/prometheus-config.yml | 4 ++-- run_node.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/monitoring/prometheus-config.yml b/monitoring/prometheus-config.yml index ddbba3b..beafb82 100644 --- a/monitoring/prometheus-config.yml +++ b/monitoring/prometheus-config.yml @@ -5,9 +5,9 @@ global: monitor: "Monitoring" scrape_configs: - - job_name: "nwaku" + - job_name: "go-waku" static_configs: - - targets: ["nwaku:8003"] + - targets: ["go-waku:8003"] - job_name: postgres-exporter static_configs: diff --git a/run_node.sh b/run_node.sh index 4e11bc9..f4412d3 100644 --- a/run_node.sh +++ b/run_node.sh @@ -17,7 +17,9 @@ if [ -n "${DOMAIN}" ]; then LETSENCRYPT_PATH=/etc/letsencrypt/live/${DOMAIN} if ! [ -d "${LETSENCRYPT_PATH}" ]; then - apk add --no-cache certbot + su - + #apt-get install sudo -y + apt install --no-install-recommends --no-deps -y certbot certbot certonly\ --non-interactive\ From 0e26d751ce05f4bb70e6717848ac7221e984a281 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Fri, 1 Dec 2023 20:30:58 +0530 Subject: [PATCH 2/2] fix: certbot install command --- run_node.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run_node.sh b/run_node.sh index f4412d3..8c99318 100644 --- a/run_node.sh +++ b/run_node.sh @@ -18,8 +18,7 @@ if [ -n "${DOMAIN}" ]; then if ! [ -d "${LETSENCRYPT_PATH}" ]; then su - - #apt-get install sudo -y - apt install --no-install-recommends --no-deps -y certbot + apt install --no-install-recommends -y certbot certbot certonly\ --non-interactive\