mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
18 lines
400 B
YAML
18 lines
400 B
YAML
version: '3.9'
|
|
services:
|
|
glances:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
restart: always
|
|
ports:
|
|
- "61208:61208"
|
|
environment:
|
|
GLANCES_OPT: "-C /glances/conf/glances.conf -w"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
- "./glances.conf:/glances/conf/glances.conf"
|
|
pid: "host"
|
|
privileged: true
|
|
network_mode: "host"
|