Files
image/beszel-agent-gpu
thuanle 6e1df22b4f
beszel-agent-gpu image / build (amd64) (push) Successful in 1m3s
beszel-agent-gpu image / amend-manifest (push) Successful in 12s
beszel-agent-gpu: add smartmontools so agent can collect NVMe SMART
Agent chay smartctl ben trong container; can them devices mount
(/dev/nvme0) tai server tieu thu — da cap nhat example trong README.
2026-11-13 00:10:01 +07:00
..

beszel-agent-gpu

beszel-agent chạy trong môi trường glibc để thu thập được GPU stats NVIDIA, thay cho image distroless chính thức (xem chú thích trong Dockerfile).

Tags

  • git.thuanle.me/public/beszel-agent-gpu:latest — manifest trỏ amd64-latest
  • git.thuanle.me/public/beszel-agent-gpu:amd64-latest

Sử dụng (server có NVIDIA GPU)

services:
  beszel-agent:
    image: git.thuanle.me/public/beszel-agent-gpu:latest
    container_name: beszel-agent
    restart: unless-stopped
    labels:
      - com.centurylinklabs.watchtower.enable=true
    network_mode: host
    # GPU: agent chạy nvidia-smi do NVIDIA Container Toolkit inject
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
    # SMART của NVMe: agent chạy smartctl trong container, cần device node
    devices:
      - /dev/nvme0:/dev/nvme0
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./beszel_agent_data:/var/lib/beszel-agent
    environment:
      LISTEN: 45876
      KEY: '<public key từ hub>'
      HUB_URL: https://bz.thuanle.me

Update

  • Build lại tự động mỗi Chủ nhật 02:30 UTC với --pull — luôn lấy binary agent mới nhất từ henrygd/beszel-agent.
  • Server tiêu thụ (ta) chạy watchtower --label-enable, nên container tự update sau khi image mới được push.