From dc24b5798cee161d07b449f990cbf4a2fa26e6d6 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sat, 9 Dec 2023 16:39:09 +0100 Subject: [PATCH] Remove grafana service --- .../config/conf.002.d/graph.serguzim.me.conf | 4 -- healthcheck/data/http | 2 - monitoring/.env | 39 ------------------- monitoring/docker-compose.yml | 20 ---------- 4 files changed, 65 deletions(-) delete mode 100644 caddy/config/conf.002.d/graph.serguzim.me.conf delete mode 100644 monitoring/.env delete mode 100644 monitoring/docker-compose.yml diff --git a/caddy/config/conf.002.d/graph.serguzim.me.conf b/caddy/config/conf.002.d/graph.serguzim.me.conf deleted file mode 100644 index b7e2827..0000000 --- a/caddy/config/conf.002.d/graph.serguzim.me.conf +++ /dev/null @@ -1,4 +0,0 @@ -graph.serguzim.me { - import default - reverse_proxy grafana:3000 -} diff --git a/healthcheck/data/http b/healthcheck/data/http index 3f995c1..06826de 100755 --- a/healthcheck/data/http +++ b/healthcheck/data/http @@ -34,11 +34,9 @@ check_url "auth.serguzim.me" check_url "ci.serguzim.me" #check_url "cloud.serguzim.me" "/login?noredir=1" check_url "git.serguzim.me" -check_url "graph.serguzim.me" check_url "hook.serguzim.me" check_url "mail.serguzim.me" #check_url "msrg.cc" # disabled because it keeps creating false alerts -#check_url "prometheus.serguzim.me" "/-/healthy" check_url "registry.serguzim.me" "/account/sign-in" check_url "rss.serguzim.me" #check_url "serguzim.me" # disabled because it keeps creating false alerts diff --git a/monitoring/.env b/monitoring/.env deleted file mode 100644 index b42cb15..0000000 --- a/monitoring/.env +++ /dev/null @@ -1,39 +0,0 @@ -GF_DEFAULT_INSTANCE_NAME="graph.serguzim.me" -GF_SERVER_PROTOCOL="http" -GF_SERVER_DOMAIN="graph.serguzim.me" -GF_SERVER_ROOT_URL="https://graph.serguzim.me/" -GF_DATABASE_TYPE="postgres" -GF_DATABASE_HOST="db.serguzim.me" -GF_DATABASE_NAME="grafana" -GF_DATABASE_USER="grafana" -GF_DATABASE_PASSWORD="" -GF_DATABASE_SSL_MODE="verify-full" -GF_SECURITY_ADMIN_USER="" -GF_SECURITY_SECRET_KEY="" -GF_SECURITY_COOKIE_SECURE="true" -GF_SECURITY_COOKIE_SAMESITE="strict" -GF_SECURITY_ALLOW_EMBEDDING="true" -GF_USERS_ALLOW_SIGN_UP="false" -GF_AUTH_DISABLE_LOGIN_FORM="true" -GF_SIGNOUT_REDIRECT_URL="https://graph.serguzim.me" -GF_OAUTH_AUTO_LOGIN="true" -GF_AUTH_ANONYMOUS_ENABLED="true" -GF_AUTH_ANONYMOUS_ORG_NAME="Main Org." -GF_AUTH_ANONYMOUS_ORG_ROLE="Viewer" -GF_AUTH_GENERIC_OAUTH_ENABLED="true" -GF_AUTH_GENERIC_OAUTH_NAME="auth.serguzim.me" -GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP="true" -GF_AUTH_GENERIC_OAUTH_CLIENT_ID="" -GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET="" -GF_AUTH_GENERIC_OAUTH_SCOPES="openid profile email" -GF_AUTH_GENERIC_OAUTH_AUTH_URL="https://auth.serguzim.me/application/o/authorize/" -GF_AUTH_GENERIC_OAUTH_TOKEN_URL="https://auth.serguzim.me/application/o/token/" -GF_AUTH_GENERIC_OAUTH_API_URL="https://auth.serguzim.me/application/o/userinfo/" -GF_AUTH_SIGNOUT_REDIRECT_URL="https://auth.serguzim.me/if/session-end/graph_serguzim_me/" -GF_AUTH_OAUTH_AUTO_LOGIN="true" -GF_SMTP_ENABLED="true" -GF_SMTP_HOST="mail.serguzim.me:587" -GF_SMTP_USER="graph@serguzim.me" -GF_SMTP_PASSWORD="" -GF_SMTP_FROM_ADDRESS="graph@serguzim.me" -GF_SMTP_FROM_NAME="Grafana" diff --git a/monitoring/docker-compose.yml b/monitoring/docker-compose.yml deleted file mode 100644 index f0f8edb..0000000 --- a/monitoring/docker-compose.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '3' - -services: - grafana: - image: grafana/grafana:latest - restart: always - labels: - com.centurylinklabs.watchtower.enable: true - env_file: - - .env - - .secret.env - user: "104" - networks: - apps: - aliases: - - grafana - -networks: - apps: - external: true