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)
- msp-release-candidate LIVE 1.04 MB Apr 17
- msp-release-1 Frozen 1.04 MB Apr 17
- pre-deeplink-clean Backup 1.02 MB Apr 17
- backup-pre-deeplink-debug Backup 1.03 MB Apr 17
- rc-20260416-2045-deep-analysis-tuning Backup 1.01 MB Apr 16
- rc-20260416-1610-builder-decoupling Backup 965 KB Apr 16
- rc-20260416-1541-ipad Backup 961 KB Apr 16
- rc-persistent-tasks Backup 951 KB Apr 16
- rc-20260416-1130 Backup 951 KB Apr 16
- rc-20260416-0716 Backup 931 KB Apr 16
- pre-label-overlap-fix Backup 951 KB Apr 16
- pre-nav-query-overhaul Backup 914 KB Apr 16
- msp-rc-april15 Backup 908 KB Apr 16
- snapshot-20260415-220717 Backup 891 KB Apr 15
- version-refinada Lab 874 KB Apr 14
- lab-builder-pre-biquery Backup 870 KB Apr 14
- lfg-builder-v1 Backup 835 KB Apr 14
- main-pre-ikabi-integration Backup 809 KB Apr 14
- rc-builder-pre-biquery Backup 802 KB Apr 14
- lfg-magic-palette-v1 Backup 765 KB Apr 13
- refinada-abr13-0530pm Backup 715 KB Apr 13
- refinada-abr13-1126am_2 Backup 712 KB Apr 14
- version-refinada-automatic-copy Backup 712 KB Apr 13
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