Source files (src/) and rendered bundle (www/) extracted on 2026-04-29T01:35:48+02:00. Adds nginx:alpine Dockerfile + docker-compose.yml (Caddy-labels) so the bot runs stand-alone or as a per-customer template clone. Parent monorepo commit: d2c816f3edbc9760802a11b29ff4151c7aad4b46 Bot version: 2026-04-25
2 KiB
2 KiB
LIBRA — Handwerks-Kalkulations-Coach
LIBRA — der Kalkulations-Sparringspartner für SHK/Elektro/Maler/Tischler. Stundensätze, Materialaufschläge, Nachkalkulation. Im deutschen Bunker.
slug : libra-handwerks-coach
version : 2026-04-25
accent : #d97706
runtime : nginx:alpine (static bundle)
template : qognio-bot-template-core (former qognio-bot-widget-template)
Layout
.
├── src/ source — config.yaml, welcome.html, curricula.json, etc.
├── www/ rendered, directly servable static bundle
├── Dockerfile nginx:alpine + www/ → port 80
├── docker-compose.yml bot-host pattern (Caddy-labels, restart unless-stopped)
├── nginx.conf gzip + cache + SPA fallback
└── bot.json metadata + parent_core_commit
Run locally
docker compose up --build
# → http://localhost (you'll need to tweak ports for local-only use)
Re-render after upstream core changes
This repo only stores src + rendered output; the rendering engine lives in
qognio-bot-template-core. To pull in core changes:
cd /path/to/qognio-bot-template-core
./scripts/render.sh libra-handwerks-coach --bot-repo /path/to/this/repo
git -C /path/to/this/repo commit -am "render: refresh from core@<sha>"
Per-customer copy (template usage)
This repo is a template. To clone for a customer:
git clone <this-repo> my-customer-libra-handwerks-coach
cd my-customer-libra-handwerks-coach
# tweak src/config.yaml (slug, bot_key_value, accent), src/welcome.html, src/curricula.json
docker compose -f docker-compose.yml up --build
Deploy to qognio bot-host (.42 LXC pattern — legacy)
The bot-manager spawns LXC containers named after the slug. Push www/ via:
ssh fmh@46.243.203.42
sudo lxc file push /tmp/www/* libra-handwerks-coach/var/www/html/
(Or run the docker-compose pattern on a Docker host — same network as Caddy.)
Generated by qognio-bot-template-core/scripts/extract-to-repo.sh on 2026-04-29T01:35:48+02:00.