add edge deployment pipeline and Kind 0.0.0.0 binding
This commit is contained in:
4
ctrl/edge/.env.example
Normal file
4
ctrl/edge/.env.example
Normal file
@@ -0,0 +1,4 @@
|
||||
LLM_PROVIDER=groq
|
||||
GROQ_API_KEY=gsk_...
|
||||
GROQ_MODEL=llama-3.3-70b-versatile
|
||||
DEFAULT_SCENARIO=weather_disruption_ord
|
||||
21
ctrl/edge/docker-compose.yml
Normal file
21
ctrl/edge/docker-compose.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user