IKA Infrastructure

INTERNET | v Cloudflare Tunnel (cloudflared systemd service) | ├── dev-v2.ika.ai ───> nginx:3000 ───> /bi/index.html RC | ├── /lab/ ───> /bi/lab/index.html Lab | ├── /rc/ ───> /bi/rc/index.html RC | ├── /os/ ───> /bi/os/index.html | └── /infra/ ───> /bi/infra/index.html this page | ├── dev-api-v2.ika.ai ───> Go API:3044 (Fiber + air hot-reload) | ├── /api/v1/bi/* BI endpoints (prompt, ask, feed, pins, graphics...) | ├── /api/v1/bi/ask ───> ika-bi Flask:3055 (SQL + LangChain) | ├── /api/v1/auth/* IKA app auth | ├── /api/v1/bi/voice/* GCP STT WebSocket proxy | └── /ws/* ───> Socket.IO:9999 | └── dev-ws-v2.ika.ai ───> Socket.IO:9999 (TCP tunnel — needs HTTP fix) DOCKER ├── ika_db postgres:14 :5432 ├── ika_redis redis:6.2.6 :6379 └── ika_frontend nginx:1.25 :3000 -> /build/web/ PROCESSES ├── tmux:api cd ~/ika-api/src && air :3044 + :9999 ├── tmux:frontend flutter build + deploy-bi + nginx :3000 ├── tmux:claude Claude Code CLI ├── ika-bi Flask + LangChain + PostgreSQL :3055 ├── feed-watch.sh inotifywait → tmux send-keys └── cloudflared systemd tunnel service

Deploy Pipeline

Source files (~/ika/web/bi/) | ├── index.html.msp-release-candidate ← active development (Builder V2) ├── index.html.version-refinada ← lab baseline └── index.html.msp-release-1 ← frozen snapshot (Builder V1) | v make deploy-bi | ├── RC → build/web/bi/index.html (msp.ika.ai/) ├── RC → build/web/bi/rc/index.html (msp.ika.ai/rc/) └── Lab → build/web/bi/lab/index.html (msp.ika.ai/lab/)

BI Versions (22 snapshots)

Services

Go API (Fiber)
Port:3044
Hot reloadair (tmux:api)
BI endpoints23 routes
App endpoints80+ routes
ika-bi (Flask + LangChain)
Port:3055
Proxy/api/v1/bi/ask → :3055
PurposeSQL generation + analysis
DBPostgreSQL (MSP data)
Nginx (Frontend)
Port:3000
Serves/build/web/ (Flutter + BI)
Containernginx:1.25-alpine
PostgreSQL
Port:5432
Version14
Containerika_db
DataIKA app + MSP BI
Redis
Port:6379
Version6.2.6-alpine
Containerika_redis
Builder Feed Bridge
Scriptfeed-watch.sh
Watcherinotifywait on /tmp/feed-ping
Targettmux:claude (paste-buffer)
Feed filelab/feed.json (auto-trim 500)

Key Files

Backend API~/ika-api/src/
Frontend (Flutter)~/ika/
BI Source~/ika/web/bi/index.html.msp-release-candidate
Tasks file/home/dev/ika-tasks.json
Push tasks/home/dev/push-tasks.sh
Feed watcher/home/dev/feed-watch.sh
Backend secrets~/ika-api/.env
API keys~/.ika-env
Docker compose~/docker-compose.yaml
Makefile~/Makefile
Context reference/home/dev/ika-context.md
IKA Platform Inc. · Infrastructure Map · Auto-generated Apr 17, 2026