Skip to content

Instantly share code, notes, and snippets.

@orange723
Created June 3, 2026 19:06
Show Gist options
  • Select an option

  • Save orange723/df9c82ff34e9fc39ec1ad29575d41bf9 to your computer and use it in GitHub Desktop.

Select an option

Save orange723/df9c82ff34e9fc39ec1ad29575d41bf9 to your computer and use it in GitHub Desktop.
beszel-agent
services:
beszel-agent:
healthcheck:
test: ['CMD', '/agent', 'health']
interval: 120s
image: henrygd/beszel-agent:latest
container_name: beszel-agent
restart: unless-stopped
network_mode: host
volumes:
- ./beszel_agent_data:/var/lib/beszel-agent
- ./beszel_socket:/beszel_socket
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
LISTEN: /beszel_socket/beszel.sock
HUB_URL:
TOKEN:
KEY: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment