From bc67dec34b975724055cc67ac6c4ae6f779b6ef6 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Fri, 1 Dec 2023 14:19:39 +0530 Subject: [PATCH] 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\