feat: add agent/compose.yaml

This commit is contained in:
sascha 2026-09-09 07:53:17 +02:00
parent 2d3c49e35d
commit a3bbde60b0

18
agent/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
network_mode: host
volumes:
- /app-config/beszel/agent:/var/lib/beszel-agent
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
LISTEN: "45876"
KEY: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNixXhUGp19hk4xYsoN0XUwZiQrQfc+2wNhJTpzBVyv"
healthcheck:
test: ["CMD", "/agent", "health"]
interval: 60s
timeout: 5s
start_period: 10s
retries: 3