Skip to content

Beszel

Description

Beszel (henrygd/beszel:latest) is a lightweight, self‑hosted dashboard that pulls Docker stats and shows you real‑time CPU, memory, network and disk usage for all your containers. It lets you track multiple hosts from one tidy UI, set simple alerts, and even export data for a quick‑look history. The web UI is clean and responsive, so you can glance at resource health from any device without fuss. All you need is the Docker image and a few environment variables, and Beszel takes care of the rest.

Docker Compose File

services:
  beszel:
    image: henrygd/beszel:latest
    container_name: beszel
    restart: unless-stopped
    environment:
      APP_URL: http://localhost:8090
    ports:
      - 8090:8090
    volumes:
      - ~/storage/beszel/data:/beszel_data
      - ~/storage/beszel/socket:/beszel_socket
    healthcheck:
      test: ['CMD', '/beszel', 'health', '--url', 'http://localhost:8090']
      interval: 120s
      start_period: 10s
      timeout: 5s

  beszel-agent:
    image: henrygd/beszel-agent:latest
    container_name: beszel-agent
    restart: unless-stopped
    network_mode: host
    volumes:
      - ~/storage/beszel/agent_data:/var/lib/beszel-agent
      - ~/storage/beszel/socket:/beszel_socket
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      LISTEN: /beszel_socket/beszel.sock
      HUB_URL: http://localhost:8090
      TOKEN: ${TOKEN}
      KEY: ${KEY}
    healthcheck:
      test: ['CMD', '/agent', 'health']
      interval: 120s

Notes