Add server and container monitoring
This commit is contained in:
@@ -122,6 +122,20 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
cadvisor:
|
||||
image: gcr.io/cadvisor/cadvisor:v0.37.0
|
||||
volumes:
|
||||
- /:/rootfs:ro
|
||||
- /var/run:/var/run:ro
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker/:/var/lib/docker:ro
|
||||
- /dev/disk/:/dev/disk:ro
|
||||
privileged: true
|
||||
devices:
|
||||
- /dev/kmsg
|
||||
networks:
|
||||
- nginx
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
@@ -157,6 +171,7 @@ services:
|
||||
- nextcloud
|
||||
- gitea
|
||||
- collabora
|
||||
- cadvisor
|
||||
- certs
|
||||
ports:
|
||||
- 80:80
|
||||
|
||||
Reference in New Issue
Block a user