Init exporter_docker
This commit is contained in:
parent
3f150e469d
commit
9c4d6a677c
10
jafner-tools/config/monitoring/docker-compose.yml
Normal file
10
jafner-tools/config/monitoring/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
services:
|
||||
exporter-docker:
|
||||
image: prometheusnet/docker_exporter
|
||||
container_name: monitoring_exporter-docker
|
||||
restart: "no"
|
||||
ports:
|
||||
- 50417:9417
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
@ -176,8 +176,23 @@ services:
|
||||
- monitoring
|
||||
volumes:
|
||||
- ./exporter-ping/config.yml:/config/config.yml
|
||||
|
||||
|
||||
|
||||
exporter-docker:
|
||||
image: prometheusnet/docker_exporter
|
||||
container_name: monitoring_exporter-docker
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
|
Loading…
Reference in New Issue
Block a user