docker/glances/docker-compose.yaml aktualisiert
This commit is contained in:
20
docker/glances/docker-compose.yaml
Normal file
20
docker/glances/docker-compose.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
glances:
|
||||
container_name: glances
|
||||
image: nicolargo/glances:latest-full
|
||||
healthcheck:
|
||||
test: curl -f http://localhost:61208/ || exit 1
|
||||
mem_limit: 4g
|
||||
cpu_shares: 768
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
pid: host
|
||||
privileged: true
|
||||
network_mode: host
|
||||
restart: on-failure:5
|
||||
ports:
|
||||
- 61208:61208
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
GLANCES_OPT: -w
|
||||
Reference in New Issue
Block a user