mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 01:35:23 +03:00
17 lines
389 B
YAML
17 lines
389 B
YAML
version: '3.9'
|
|
services:
|
|
glances:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
restart: always
|
|
pid: "host"
|
|
privileged: true
|
|
network_mode: "host"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
- "./glances.conf:/glances/conf/glances.conf"
|
|
environment:
|
|
- GLANCES_OPT: "-C /glances/conf/glances.conf -w"
|
|
- TZ: "${TZ}"
|