18 lines
531 B
YAML
18 lines
531 B
YAML
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
|