2022-10-15 12:45:01 +03:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
reverse-proxy:
|
|
|
|
image: traefik
|
|
|
|
command: --api --docker
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
whoami:
|
|
|
|
image: emilevauge/whoami
|
|
|
|
labels:
|
|
|
|
- "traefik.frontend.rule=Host:whoami.docker.localhost"
|
|
|
|
|
|
|
|
monitoring:
|
2022-11-03 17:05:57 +03:00
|
|
|
image: nicolargo/glances:dev
|
2022-10-15 12:45:01 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
pid: host
|
|
|
|
privileged: true
|
|
|
|
network_mode: "host"
|
|
|
|
volumes:
|
2023-03-05 11:25:53 +03:00
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
|
|
- "./glances.conf:/glances/conf/glances.conf"
|
2022-10-15 12:45:01 +03:00
|
|
|
environment:
|
2023-03-05 11:25:53 +03:00
|
|
|
- GLANCES_OPT: "-C /glances/conf/glances.conf -w"
|
|
|
|
- TZ: "${TZ}"
|
2022-10-15 12:45:01 +03:00
|
|
|
labels:
|
|
|
|
- "traefik.port=61208"
|
|
|
|
- "traefik.frontend.rule=Host:glances.docker.localhost"
|