mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-07-01 17:45:32 +02:00
Remove Netdata, add Uptime Kuma and Scrutiny
This commit is contained in:
42
docker/stacks/monitoring/monitoring.yml
Normal file
42
docker/stacks/monitoring/monitoring.yml
Normal file
@ -0,0 +1,42 @@
|
||||
services:
|
||||
uptime-kuma:
|
||||
container_name: uptime-kuma
|
||||
image: louislam/uptime-kuma
|
||||
ports:
|
||||
- 3111:3001
|
||||
volumes:
|
||||
- ${APPS_DIR}/uptime-kuma:/app/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
networks:
|
||||
- proxy
|
||||
- monitoring
|
||||
restart: unless-stopped
|
||||
|
||||
scrutiny:
|
||||
container_name: scrutiny
|
||||
image: ghcr.io/analogj/scrutiny:master-omnibus
|
||||
cap_add:
|
||||
- SYS_RAWIO
|
||||
- SYS_ADMIN
|
||||
ports:
|
||||
- "8283:8080" # webapp
|
||||
- "8286:8086" # influxDB admin
|
||||
volumes:
|
||||
- /run/udev:/run/udev:ro
|
||||
- ${APPS_DIR}/scrutiny/config:/opt/scrutiny/config
|
||||
- ${APPS_DIR}/scrutiny/influxdb:/opt/scrutiny/influxdb
|
||||
networks:
|
||||
- monitoring
|
||||
devices:
|
||||
- "/dev/sda"
|
||||
- "/dev/sdb"
|
||||
- "/dev/sdc"
|
||||
- "/dev/nvme0"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external:
|
||||
name: proxy
|
||||
monitoring:
|
||||
name: monitoring
|
@ -1,29 +0,0 @@
|
||||
services:
|
||||
netdata:
|
||||
image: netdata/netdata
|
||||
container_name: netdata
|
||||
hostname: ${HOSTNAME}
|
||||
networks:
|
||||
- netdata
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
security_opt:
|
||||
- apparmor:unconfined
|
||||
environment:
|
||||
- PGID=${NETDATA_PGID}
|
||||
- TZ=${TIMEZONE}
|
||||
- DISABLE_TELEMETRY=1
|
||||
volumes:
|
||||
- /etc/passwd:/host/etc/passwd:ro
|
||||
- /etc/group:/host/etc/group:ro
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /etc/os-release:/host/etc/os-release:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
ports:
|
||||
- 19999:19999
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
netdata:
|
||||
name: netdata
|
Reference in New Issue
Block a user