deploy: optional Beszel monitoring agent on the Tailscale address
Off unless COMPOSE_PROFILES=monitoring and BESZEL_KEY are set in .env. Also documents the TrueNAS pull of the daily backups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -196,9 +196,27 @@ services:
|
||||
logging: *logging
|
||||
restart: unless-stopped
|
||||
|
||||
# Beszel agent: CPU, memory, disk, network and per-container stats for the
|
||||
# Beszel hub on the home NAS. Off unless COMPOSE_PROFILES=monitoring and
|
||||
# BESZEL_KEY (the hub's public key) are in .env. It listens only on the
|
||||
# server's Tailscale address, so nothing is opened to the internet.
|
||||
beszel-agent:
|
||||
image: henrygd/beszel-agent:0.21.2
|
||||
profiles: [monitoring]
|
||||
network_mode: host
|
||||
environment:
|
||||
KEY: ${BESZEL_KEY:-}
|
||||
LISTEN: ${BESZEL_LISTEN:-100.69.226.118:45876}
|
||||
volumes:
|
||||
- beszel-agent:/var/lib/beszel-agent
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
logging: *logging
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
# Backend and worker logs (backend.YYYY-MM-DD.log, worker…, worker-ai…).
|
||||
logs:
|
||||
caddy-data:
|
||||
caddy-config:
|
||||
beszel-agent:
|
||||
|
||||
Reference in New Issue
Block a user