feat: add agent-local/compose.yaml
This commit is contained in:
parent
a3bbde60b0
commit
ac308b45a8
1 changed files with 18 additions and 0 deletions
18
agent-local/compose.yaml
Normal file
18
agent-local/compose.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue