add docker compose examples for hub / agent to supplemental

This commit is contained in:
Henry Dollman
2024-08-11 15:22:30 -04:00
parent 9d2192f323
commit c06eabefe0
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
services:
beszel-agent:
image: 'henrygd/beszel-agent'
container_name: 'beszel-agent'
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
PORT: 45876
KEY: 'ssh-ed25519 YOUR_PUBLIC_KEY'
# FILESYSTEM: /dev/sda1 # set to the correct filesystem for disk I/O stats

View File

@@ -0,0 +1,9 @@
services:
beszel:
image: 'henrygd/beszel'
container_name: 'beszel'
restart: unless-stopped
ports:
- '8090:8090'
volumes:
- ./beszel_data:/beszel_data