From 1644af616e95f4b9bda01a2a3d5193617e009e7f Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sat, 14 Feb 2026 08:37:13 +0100 Subject: [PATCH] updated CLAUDE.md --- CLAUDE.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 3e6f200..35cccf1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 --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