ตั้งค่า Dev Infrastructure สำหรับ Self-Hosted AI
The Stack Custom development environment สร้างจากศูนย์ — stable, fast, และ fully self-hosted OS: Ubuntu 24.04 LTS Web: Next.js 16, Node.js 22, Hugo 0.146 Container: Docker + Docker Compose AI: Ollama (local LLM), MiniMax-M2.7, GLM-5.1 Database: Supabase (self-hosted PostgreSQL) Proxy: Cloudflare Tunnel What Runs 10.100.100.8 (Office Server): Hugo (static sites) :3000, Next.js (web apps) :3001, Supabase :3002, Ollama :11434 192.168.77.222 (AI Server): Ollama + models Key Automation Auto-deploy via GitHub webhooks DNS automation via Cloudflare API Database backup to NAS (rsync) Container health monitoring Stack: Ubuntu · Docker · Next.js · Cloudflare