Use glances for monitoring.
This commit is contained in:
@@ -37,6 +37,25 @@ services:
|
|||||||
- "3551:3551/tcp"
|
- "3551:3551/tcp"
|
||||||
- "3551:3551/udp"
|
- "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:
|
telegraf:
|
||||||
image: telegraf:alpine
|
image: telegraf:alpine
|
||||||
container_name: telegraf
|
container_name: telegraf
|
||||||
|
|||||||
Reference in New Issue
Block a user