diff --git a/agent/compose.yaml b/agent/compose.yaml new file mode 100644 index 0000000..8f6d840 --- /dev/null +++ b/agent/compose.yaml @@ -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