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\