Use glances for monitoring.
This commit is contained in:
@@ -37,6 +37,25 @@ services:
|
||||
- "3551:3551/tcp"
|
||||
- "3551:3551/udp"
|
||||
|
||||
glances:
|
||||
image: nicolargo/glances:latest-full
|
||||
restart: unless-stopped
|
||||
hostname: glances
|
||||
container_name: glances
|
||||
pid: host
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- "GLANCES_OPT=-w"
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.glances.rule=Host(`glances.lan`)"
|
||||
- "traefik.http.routers.glances.entrypoints=web"
|
||||
- "traefik.http.routers.glances.service=glances"
|
||||
- "traefik.http.services.glances.loadbalancer.server.port=61208"
|
||||
|
||||
telegraf:
|
||||
image: telegraf:alpine
|
||||
container_name: telegraf
|
||||
|
||||
Reference in New Issue
Block a user