add edge deployment pipeline and Kind 0.0.0.0 binding

This commit is contained in:
2026-04-15 21:52:32 -03:00
parent 0d0950d97d
commit 274f185b3b
4 changed files with 30 additions and 1 deletions

4
ctrl/edge/.env.example Normal file
View File

@@ -0,0 +1,4 @@
LLM_PROVIDER=groq
GROQ_API_KEY=gsk_...
GROQ_MODEL=llama-3.3-70b-versatile
DEFAULT_SCENARIO=weather_disruption_ord

View File

@@ -0,0 +1,21 @@
services:
nova-api:
image: registry.mcrn.ar/unt/api:latest
container_name: nova-api
restart: unless-stopped
env_file: .env
networks:
- gateway
nova-ui:
image: registry.mcrn.ar/unt/ui:latest
container_name: nova-ui
restart: unless-stopped
depends_on:
- nova-api
networks:
- gateway
networks:
gateway:
external: true

View File

@@ -7,7 +7,7 @@ nodes:
# UI — entry point for the app
- containerPort: 30040
hostPort: 8040
listenAddress: "127.0.0.1"
listenAddress: "0.0.0.0"
protocol: TCP
# Langfuse observability
- containerPort: 30030

View File

@@ -22,6 +22,10 @@ server {
proxy_pass http://api:8000;
}
location /health {
proxy_pass http://api:8000;
}
location /ws/ {
proxy_pass http://api:8000;
proxy_http_version 1.1;