|
|
@@ -1,17 +1,17 @@
|
|
|
services:
|
|
|
- loki:
|
|
|
- image: grafana/loki:latest
|
|
|
- container_name: loki
|
|
|
- ports:
|
|
|
- - "3100:3100"
|
|
|
- command: -config.file=/etc/loki/local-config.yaml
|
|
|
- volumes:
|
|
|
- - ./loki-config.yaml:/etc/loki/local-config.yaml
|
|
|
- - ../data/loki_data:/loki
|
|
|
- networks:
|
|
|
- - monitoring_network
|
|
|
- labels:
|
|
|
- "com.helios.target": "http://localhost:3100"
|
|
|
+ # loki:
|
|
|
+ # image: grafana/loki:latest
|
|
|
+ # container_name: loki
|
|
|
+ # ports:
|
|
|
+ # - "3100:3100"
|
|
|
+ # command: -config.file=/etc/loki/local-config.yaml
|
|
|
+ # volumes:
|
|
|
+ # - ./loki-config.yaml:/etc/loki/local-config.yaml
|
|
|
+ # - ../data/loki_data:/loki
|
|
|
+ # networks:
|
|
|
+ # - monitoring_network
|
|
|
+ # labels:
|
|
|
+ # "com.helios.target": "http://localhost:3100"
|
|
|
grafana:
|
|
|
image: grafana/grafana
|
|
|
container_name: grafana
|
|
|
@@ -34,7 +34,7 @@ services:
|
|
|
ports:
|
|
|
- "9090:9090"
|
|
|
volumes:
|
|
|
- - ../data/prometheus/:/etc/prometheus/
|
|
|
+ - prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
- prometheus_data:/prometheus
|
|
|
command:
|
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|