Fix alloy and loki, and remove alertmanager (use grafana's)
This commit is contained in:
@@ -49,10 +49,11 @@ services:
|
|||||||
- ${LOKI_CONFIG_PATH}:/etc/loki/local-config.yaml
|
- ${LOKI_CONFIG_PATH}:/etc/loki/local-config.yaml
|
||||||
- ${LOKI_DATA_DIR}:/loki
|
- ${LOKI_DATA_DIR}:/loki
|
||||||
command:
|
command:
|
||||||
- '-config.file=/etc/loki/local-config.yaml -target=all'
|
- '-config.file=/etc/loki/local-config.yaml'
|
||||||
|
- '-target=all'
|
||||||
|
|
||||||
alloy:
|
alloy:
|
||||||
image: grafana/alloy:1.12.2
|
image: grafana/alloy:v1.12.2
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "12345:12345"
|
- "12345:12345"
|
||||||
@@ -98,22 +99,6 @@ services:
|
|||||||
- '--disable_metrics=disk,diskIO,tcp,udp,percpu,sched,process,hugetlb,referenced_memory'
|
- '--disable_metrics=disk,diskIO,tcp,udp,percpu,sched,process,hugetlb,referenced_memory'
|
||||||
- '--docker_only=true'
|
- '--docker_only=true'
|
||||||
|
|
||||||
# Alertmanager - Alert Management
|
|
||||||
alertmanager:
|
|
||||||
image: prom/alertmanager:v0.30.1
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "9093:9093"
|
|
||||||
volumes:
|
|
||||||
- ${ALERTMANAGER_CONFIG_PATH}:/etc/alertmanager/alertmanager.yml
|
|
||||||
- ${ALERTMANAGER_DATA_DIR}:/alertmanager
|
|
||||||
command:
|
|
||||||
- '--config.file=/etc/alertmanager/alertmanager.yml'
|
|
||||||
- '--storage.path=/alertmanager'
|
|
||||||
- '--web.external-url=http://localhost:9093'
|
|
||||||
depends_on:
|
|
||||||
- prometheus
|
|
||||||
|
|
||||||
# Blackbox Exporter - Endpoint Monitoring
|
# Blackbox Exporter - Endpoint Monitoring
|
||||||
blackbox_exporter:
|
blackbox_exporter:
|
||||||
image: prom/blackbox-exporter:v0.28.0
|
image: prom/blackbox-exporter:v0.28.0
|
||||||
|
|||||||
Reference in New Issue
Block a user