feat: add agent-local/compose.yaml

This commit is contained in:
sascha 2026-09-09 07:53:18 +02:00
parent a3bbde60b0
commit ac308b45a8

18
agent-local/compose.yaml Normal file
View file

@ -0,0 +1,18 @@
services:
beszel-agent:
image: henrygd/beszel-agent:0.19.0
container_name: beszel-agent
restart: always
volumes:
- /app-config/beszel/agent:/var/lib/beszel-agent
- /app-config/beszel/socket:/beszel_socket
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
LISTEN: "/beszel_socket/beszel.sock"
KEY: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNixXhUGp19hk4xYsoN0XUwZiQrQfc+2wNhJTpzBVyv"
healthcheck:
test: ["CMD", "/agent", "health"]
interval: 60s
timeout: 5s
start_period: 10s
retries: 3