This PR supersedes #1450. Hey man sorry about that, now have implemented the requested changes and verified the infrastructure.
Changes:
docker-compose.yaml with an embedded K3s (Kubernetes) service.archestra/platform:latest image to prevent Out-of-Memory (OOM) crashes in cloud environments (Codespaces).Testing & Verification: I verified the Kubernetes Environment Detection logic:
THE Problem: The “Self-hosted” tab appears to be disabled in the UI (likely a frontend state issue in the latest image), but the error message confirms the backend infrastructure is working correctly. (CHECK THE LAST VIDEO INSIDE THE DRIVE LINK)
I am adding some Video Proof: [https://drive.google.com/file/d/1eCD8xifakXDiGMjt99Ni675e6Lh7sFtE/view?usp=drive_link] If you can continue now, I would like to finalise this, Thankyou for the chance! /claim #1445
[!NOTE] Adds a docker-compose setup running the app against an embedded K3s cluster, using a prebuilt image and kubeconfig wiring.
- Infrastructure:
- Docker Compose: Introduces
docker-compose.yamlwitharchestraapp andk3sservices.
archestra: usesarchestra/platform:latest, exposes3000/9000, injects K8s env (KUBECONFIG, service host/port), mounts kubeconfig volume.k3s: runsrancher/k3s:v1.27.1-k3s1with server command, tmpfs, privileged mode; exposes6443; persists state and outputs kubeconfig via named volumes.- Volumes: Adds
k3s_serverandk3s_kubeconfignamed volumes.- Stability: Switches to prebuilt app image to avoid OOM and ensure UI recording.
Written by Cursor Bugbot for commit bde892c7eecbfb2f9cc455b94f390376cf50e9e2. This will update automatically on new commits. Configure here.
thefuturrjfhejh
@thefuturrjfhejh
Archestra
@archestra-ai
Antonio Franco
@AntonioVFranco