chore: in progress changes

This commit is contained in:
Prem Chaitanya Prathi 2023-12-01 14:19:39 +05:30
parent ba73fe0120
commit bc67dec34b
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -5,9 +5,9 @@ global:
monitor: "Monitoring" monitor: "Monitoring"
scrape_configs: scrape_configs:
- job_name: "nwaku" - job_name: "go-waku"
static_configs: static_configs:
- targets: ["nwaku:8003"] - targets: ["go-waku:8003"]
- job_name: postgres-exporter - job_name: postgres-exporter
static_configs: static_configs:

View File

@ -17,7 +17,9 @@ if [ -n "${DOMAIN}" ]; then
LETSENCRYPT_PATH=/etc/letsencrypt/live/${DOMAIN} LETSENCRYPT_PATH=/etc/letsencrypt/live/${DOMAIN}
if ! [ -d "${LETSENCRYPT_PATH}" ]; then 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\ certbot certonly\
--non-interactive\ --non-interactive\