From 8cc3772fd9f9f12c6f9f4b2c0b33a14e4321d2a1 Mon Sep 17 00:00:00 2001 From: serguun42 Date: Wed, 13 Dec 2023 00:57:45 +0300 Subject: [PATCH 1/2] Remove unnecessary configurations --- prometheus/docker-compose.prometheus.dev.yml | 41 -------------------- 1 file changed, 41 deletions(-) delete mode 100644 prometheus/docker-compose.prometheus.dev.yml diff --git a/prometheus/docker-compose.prometheus.dev.yml b/prometheus/docker-compose.prometheus.dev.yml deleted file mode 100644 index 8376bfe..0000000 --- a/prometheus/docker-compose.prometheus.dev.yml +++ /dev/null @@ -1,41 +0,0 @@ -version: "3.8" - -name: mss-prometheus - -volumes: - mss-prometheus-data: - name: mss-prometheus-data - mss-grafana-data: - name: mss-grafana-data - mss-grafana-home: - name: mss-grafana-home - -services: - mss-prometheus: - container_name: mss-prometheus - image: prom/prometheus - restart: on-failure - ports: - - 127.0.0.1:6804:9090 - volumes: - - ./monprometheus.yml:/etc/prometheus/prometheus.yml - - mss-prometheus-data:/prometheus - - mss-grafana: - container_name: mss-grafana - image: grafana/grafana - restart: on-failure - depends_on: - - mss-prometheus - ports: - - 127.0.0.1:6805:3000 - environment: - GF_AUTH_DISABLE_LOGIN_FORM: true - GF_AUTH_ANONYMOUS_ENABLED: true - GF_AUTH_ANONYMOUS_ORG_ROLE: Admin - volumes: - - ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml - - ./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml - - ./grafana/node-dashboard.json:/etc/grafana/provisioning/dashboards/node-dashboard.json - - mss-grafana-data:/var/lib/grafana - - mss-grafana-home:/usr/share/grafana From e72f1d673a414024eaa39a07d0732e94a4e69b34 Mon Sep 17 00:00:00 2001 From: serguun42 Date: Wed, 13 Dec 2023 00:59:23 +0300 Subject: [PATCH 2/2] Update Notifier config --- notifier/notifier.config.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notifier/notifier.config.json b/notifier/notifier.config.json index c122066..b41bdc6 100644 --- a/notifier/notifier.config.json +++ b/notifier/notifier.config.json @@ -1,4 +1,7 @@ { + "DATABASE_NAME": "mss", + "DATABASE_CONNECTION_URI": "mongodb://host1:27017,host2:27017,host3:27017/?replicaSet=myRs&readPreference=primaryPreferred", + "TELEGRAM_BOT_TOKEN": "000000000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "TELEGRAM_API_SERVER_HOST": "host.docker.internal", "TELEGRAM_API_SERVER_PORT": 8081,