12 lines
394 B
YAML
12 lines
394 B
YAML
- name: Deploy beszel agent
|
|
community.docker.docker_container:
|
|
name: beszel-agent
|
|
state: started
|
|
image: henrygd/beszel-agent:latest
|
|
restart_policy: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
env:
|
|
LISTEN: "45876"
|
|
KEY: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMCUPTi9HAx/CV1RmSnO2p365gKUPSPzTLN9fbmINO4d' |