started grafana alloy implementation

This commit is contained in:
John Lancaster
2025-07-20 22:00:52 -05:00
parent 4145c55522
commit 6efb480f33
2 changed files with 47 additions and 0 deletions

View File

@@ -21,6 +21,19 @@ services:
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/docker.sock:/var/run/docker.sock
alloy:
image: grafana/alloy
container_name: grafana-alloy
restart: unless-stopped
volumes:
- ./grafana-alloy/config.alloy:/etc/alloy/config.alloy
- /var/run/docker.sock:/var/run/docker.sock
command:
- run
- --server.http.listen-addr=0.0.0.0:12345
- --storage.path=/var/lib/alloy/data
- /etc/alloy/config.alloy
watchtower:
image: containrrr/watchtower
container_name: watchtower