add and update stuff

This commit is contained in:
2026-05-22 02:22:23 -07:00
parent 6bcadb4138
commit bc6ed1ae49
12 changed files with 703 additions and 27 deletions
+18
View File
@@ -0,0 +1,18 @@
---
services:
beszel:
image: henrygd/beszel
container_name: beszel
restart: unless-stopped
volumes:
- data:/beszel_data
networks:
- caddy
volumes:
data:
networks:
caddy:
name: "caddy"
external: true
+2
View File
@@ -0,0 +1,2 @@
* SMART monitoring requires some bullshit to get working, see service file for example and follow https://beszel.dev/guide/smart-data#troubleshooting
* You can bind the agents listening port to tailscale with the LISTEN variable, see service file
+27
View File
@@ -0,0 +1,27 @@
[Unit]
Description=Beszel Agent Service
After=network.target
[Service]
Environment="LISTEN=100.70.0.2:45876"
Environment="KEY="
Environment="TOKEN="
Environment="HUB_URL="
Environment="SMART_DEVICES=/dev/sda:sat,/dev/sdb:sat,/dev/sdc:sat,/dev/sdd:sat,/dev/sde:sat,/dev/sdf:sat,/dev/sdg:sat,/dev/sdh:sat"
ExecStart=/opt/beszel-agent/beszel-agent
User=beszel
Restart=always
RestartSec=5
DeviceAllow=/dev/sda r
DeviceAllow=/dev/sdb r
DeviceAllow=/dev/sdc r
DeviceAllow=/dev/sdd r
DeviceAllow=/dev/sde r
DeviceAllow=/dev/sdf r
DeviceAllow=/dev/sdg r
DeviceAllow=/dev/sdh r
[Install]
WantedBy=multi-user.target