# stacks/raspi/ Raspberry Pi edge monitoring stack. This directory will be populated via `git subtree` from the existing `raspi` repo to preserve full commit history. ## Migration (Phase 1 of implementation plan) ```bash # From the repo root — do this once after initial push to Gitea: git subtree add --prefix=stacks/raspi /home/wayne/repos/raspi main --squash # To pull future updates from the source repo: git subtree pull --prefix=stacks/raspi /home/wayne/repos/raspi main --squash ``` ## Services | Service | Purpose | |---------|---------| | Traefik | Reverse proxy + TLS (LetsEncrypt) | | Uptime Kuma | Uptime monitoring dashboard | | CrowdSec | Threat detection (Traefik plugin) | | Beszel Agent | Host metrics → central hub on docker host | | Docker Socket Proxy | Secure Docker API access | ## Deployment The Raspberry Pi is accessed via Tailscale (`raspberrypi.tail13f623.ts.net`). ```bash # Deploy from within the raspi/ directory on the Pi: ./services-up.sh up -d # Or from this workstation via SSH: ssh wayne@raspberrypi.tail13f623.ts.net "cd ~/raspi && ./services-up.sh up -d" ```