monitoring setup

This commit is contained in:
2026-03-22 12:04:37 +01:00
parent cf57bc163f
commit c563e9de5f
3 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
services:
alloy:
image: grafana/alloy:latest
container_name: alloy
restart: unless-stopped
env_file: .env
volumes:
- ./config.alloy:/etc/alloy/config.alloy:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/host/root:ro
command:
- run
- /etc/alloy/config.alloy
- --storage.path=/var/lib/alloy/data
pid: host
networks:
- monitoring
networks:
monitoring:
driver: bridge