Install Glances

version: "3.8"

services:
  glances:
    image: nicolargo/glances:latest-full
    container_name: glances
    restart: unless-stopped
    ports:
      - "61208:61208"  # Web UI port
    environment:
      - "GLANCES_OPT=-w"  # Aktifkan Web UI
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro  # Untuk monitoring Docker
      - /:/host:ro      # Untuk akses sistem host
      - /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock
    pid: host
    network_mode: host
    privileged: true

Leave a Reply