ai-code-battle/web/pages.json
jedarden 259b9de86a Add Kubernetes manifests for ArgoCD GitOps deployment
Create deploy/k8s/ directory with complete K8s manifests for the
ai-code-battle namespace on apexalgo-iad cluster:

- Namespace and ArgoCD Application (auto-sync, prune, self-heal)
- Match worker Deployment (2 replicas, metrics on :9090)
- Index builder Deployment (Recreate strategy)
- 6 strategy bot Deployments (random, gatherer, rusher, guardian, swarm, hunter)
- ClusterIP Services for all bots (cluster DNS resolution)
- SealedSecret templates (API key, R2 creds, bot secrets, Cloudflare token)
- All containers from forgejo.ardenone.com/ai-code-battle/ registry
- Health/readiness probes and resource limits on all deployments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 00:57:48 -04:00

30 lines
810 B
JSON

{
"name": "ai-code-battle",
"description": "AI Code Battle - Competitive bot programming platform",
"domains": [
"aicodebattle.com"
],
"build": {
"command": "npm run build",
"output_dir": "dist",
"root_dir": "web"
},
"routes": {
"app": "app.html",
"replay_viewer": "index.html"
},
"data_paths": {
"pages_data": "https://aicodebattle.com/data",
"r2_data": "https://data.aicodebattle.com"
},
"deployment": {
"method": "wrangler pages deploy",
"git_integration": true,
"index_builder_deploys": "data/ directory only"
},
"notes": [
"SPA uses hash-based routing (no _redirects needed)",
"Index files in data/ are deployed by Rackspace index builder every ~90 min",
"Replays and per-match data are served from R2 custom domain"
]
}