# Max — Bar & Bühnen-Coach Max — dein Bar & Bühnen-Coach. Crash-Kurs für Bar-Kräfte und Event-Crews — rechtssicher, praxisnah, Deutschland-legal. DSGVO-konform im Bunker. ``` slug : bar-coach version : 2026-04-21 accent : #f59e0b 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 ```bash 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: ```bash cd /path/to/qognio-bot-template-core ./scripts/render.sh bar-coach --bot-repo /path/to/this/repo git -C /path/to/this/repo commit -am "render: refresh from core@" ``` ## Per-customer copy (template usage) This repo is a **template**. To clone for a customer: ```bash git clone my-customer-bar-coach cd my-customer-bar-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: ```bash ssh fmh@46.243.203.42 sudo lxc file push /tmp/www/* bar-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:46+02:00.