🏗️ Sardonic Architektúra

sardonicrepulsion.com · aarch64 · Ubuntu · Dokku 0.37.6
🌍 Internet
▼ port 80/443
☁️ Caddy Docker Proxy
Auto SSL (Let's Encrypt) · Docker labels routing · 1 kontajner
Nahradil nginx (2026-03-06) · žiadny certbot
▼ Docker network
📦 Dokku Kontajnery (51 apps)
Caddy Static (25) — 64 MB:
books cdn coin cyberpunk decoy devops dish docs drive education example fast gear homepage mikes pool pulsecraft reprint roadmap tools vortexpwm vva waver workflow executive-css
PHP-FPM + Caddy (12) — 128 MB:
app calendar contact dl drums evolver expenses finances ideas microq prophecy eshop
PHP Apache (1) — 128 MB:
antiliberal
Node.js (11) — 128 MB:
chat deployer errors files login platform projects rating status tasks youloop
Iné (2) — 128 MB:
adminer search
🗄️ MySQL 8.0 (Docker)
dokku-services network · 512 MB limit · utf8mb4 · slow query log (1s threshold)

🚀 CI/CD Flow

git push origin main → GitHub webhook → Deployer (SQLite queue, retry + backoff) → Dokku build → smoke test (/health + hlavná stránka) → Playwright test → live
Fail → rollback + Telegram alert
Fallback: git:from-archive ak git push zlyhá

📦 Deployer

🔐 Autentifikácia

📊 Monitoring & Alerting

🐳 Docker Infraštruktúra

💾 Zálohovanie

⏰ Cron Jobs

Systémové (bash):
ScheduleJob
*/15 * * * *sardonic-monitor (health + auto-fix)
*/10 * * * *container-resource-alert
0 2 * * *backup
30 5 * * *pre-report-check
15 5 * * *container-restart-check
25 5 * * *mysql-slow-query-check
0 6 * * *daily-health-report → Telegram
0 7 * * *ssl-expiry-check
0 4 * * 0docker-prune (images + build cache)
AI (OpenClaw):
ScheduleJob
*/30 * * * *tasks-check (ready tasks z DB)
*/30 * * * *deployer-failure-auto-triage
daily 3:30backup-verify
daily 20:00git-sync-check
daily 5:20db-network-guardrail
Mon 9:00ssl-monitor

🤖 AI Agenti

📏 Container Resources

🛡️ Bezpečnosť

static (25) PHP-FPM (12) Apache (1) Node (11) Iné (2)
Caddy = jediný reverse proxy · auto Let's Encrypt · žiadny nginx · posledná aktualizácia: 2026-03-27