added registrybrowser (functional) and cadvisor (unfunctional without influxDB working)

This commit is contained in:
2023-01-23 15:26:39 +00:00
parent ea2feb56a8
commit ce7a8d6fc8
4 changed files with 71 additions and 11 deletions
+22
View File
@@ -0,0 +1,22 @@
version: "3.7"
services:
cadvisor:
user: "0:0"
image: zcube/cadvisor:latest
hostname: '{{.Node.ID}}'
command: -logtostderr -docker_only -storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influx:8086
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
ports:
- 8081:8080
deploy:
mode: global
restart_policy:
condition: on-failure