glances/docker-compose/docker-compose.yml

16 lines
354 B
YAML
Raw Normal View History

2020-11-21 12:26:15 +03:00
version: '3.7'
services:
glances:
build:
context: ./
dockerfile: Dockerfile
restart: always
ports:
- "61208:61208"
environment:
2022-07-15 20:02:02 +03:00
GLANCES_OPT: "-C /glances/conf/glances.conf -w"
2020-11-21 12:26:15 +03:00
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./glances.conf:/glances/conf/glances.conf"
pid: "host"