xcad2k 4 лет назад
Родитель
Сommit
485cd66566

+ 1 - 1
docker-compose/influxdb/README.md

@@ -8,7 +8,7 @@ Copy the `docker-compose.yml` template into your project folder and start the co
 
 The initial configuration can be done automatically through docker instructions, or post-installation via the InfluxDB UI or CLI setup.
 
-*For more info visit:* [Official InfluxDB Installation Documentation](ttps://docs.influxdata.com/influxdb/v2.1/install/)
+*For more info visit:* [Official InfluxDB Installation Documentation](https://docs.influxdata.com/influxdb/v2.1/install/)
 
 # Best-Practices & Post-Installation
 

+ 0 - 0
docker-compose/prometheus-grafana/README.md


+ 0 - 29
docker-compose/prometheus-grafana/docker-compose.yml

@@ -1,29 +0,0 @@
-version: '3'
-
-volumes:
-  prometheus-data:
-    driver: local
-  grafana-data:
-    driver: local
-
-services:
-  prometheus:
-    image: prom/prometheus:latest
-    container_name: prometheus
-    ports:
-      - "9090:9090"
-    volumes:
-      - /etc/prometheus:/etc/prometheus
-      - prometheus-data:/prometheus
-    restart: unless-stopped
-    command:
-      - "--config.file=/etc/prometheus/prometheus.yml"
-
-  grafana:
-    image: grafana/grafana-oss:latest
-    container_name: grafana
-    ports:
-      - "3000:3000"
-    volumes:
-      - grafana-data:/var/lib/grafana
-    restart: unless-stopped

+ 0 - 17
docker-compose/prometheus-grafana/exporters/cadvisor/docker-compose.yml

@@ -1,17 +0,0 @@
----
-version: '3'
-
-services:
-  cadvisor:
-    image: google/cadvisor:latest
-    container_name: cadvisor
-    # ports:
-    #   - "8080:8080"
-    volumes:
-      - /:/rootfs:ro
-      - /var/run:/var/run:ro
-      - /sys:/sys:ro
-      - /var/lib/docker/:/var/lib/docker:ro
-      - /dev/disk/:/dev/disk:ro
-    devices:
-      - /dev/kmsg

+ 0 - 13
docker-compose/prometheus-grafana/exporters/node_exporter/docker-compose.yml

@@ -1,13 +0,0 @@
----
-version: '3.8'
-
-services:
-  node_exporter:
-    image: quay.io/prometheus/node-exporter:latest
-    container_name: node_exporter
-    command:
-      - '--path.rootfs=/host'
-    pid: host
-    restart: unless-stopped
-    volumes:
-      - '/:/host:ro,rslave'

+ 26 - 0
docker-compose/prometheus/README.md

@@ -0,0 +1,26 @@
+# Installation
+
+## Deployment
+
+1. Copy the configuration template into the `/etc/prometheus/prometheus.yml` location.
+2. Copy the `docker-compose.yml` template into your project folder and start the container.
+
+## Configuration
+
+Configure your settings in the `/etc/prometheus/prometheus.yml` file.
+
+*For more info visit:* [Official Prometheus Installation Documentation](https://prometheus.io/docs/prometheus/latest/installation/)
+
+# Best-Practices & Post-Installation
+
+## Disable HTTP
+
+It's not secure to expose Prometheus via the HTTP protocol. 
+
+### Use a Reverse Proxy
+
+- [] Use a Reverse Proxy to securely expose administrative services.
+
+# Additional Referfences
+
+[Official Prometheus Documentation](https://prometheus.io/docs/introduction/overview/)

+ 0 - 0
docker-compose/prometheus-grafana/config/prometheus.yml → docker-compose/prometheus/config/prometheus.yml