updated CLAUDE.md

This commit is contained in:
2026-02-14 08:37:13 +01:00
parent 5d9087dc2b
commit 1644af616e
+10 -7
View File
@@ -60,16 +60,19 @@ All hosted at `gitea.dooplex.hu/admin/`
- Pi-hole DNS on local network forwards `*.demo-felhom.eu` → 192.168.0.162
- External access via Cloudflare Tunnel → Traefik reverse proxy
## Build workflow
Source is in `controller/` but builds happen in `~/build/felhom-controller/`:
## Build & deploy workflow
Code is edited locally on Windows. Build happens on the server via SSH.
```bash
cd ~/build/felhom-controller
./build.sh <version> --push # builds + pushes to gitea.dooplex.hu registry
```
# Push changes
git add -A && git commit -m "..." && git push
Deploy on node: `docker compose up -d` (NOT `restart` — restart doesn't pick up new images)
# Build + push image on server
ssh kisfenyo@192.168.0.180 "cd ~/build/felhom-controller && git -C ~/git/deploy-felhom-compose pull && ./build.sh --push"
# Deploy on demo node
ssh kisfenyo@192.168.0.162 "cd /opt/docker/felhom-controller && docker pull gitea.dooplex.hu/admin/felhom-controller: && docker compose up -d"
```
## Tech stack