feat: harden intelligence runtime and llm providers

This commit is contained in:
2026-05-16 21:18:34 +02:00
parent 7e85a54c32
commit 85f97bb2a6
22 changed files with 732 additions and 201 deletions

View File

@@ -1,10 +1,24 @@
services:
crucix:
build: .
intelligence-terminal:
image: git.wilkensxl.de/mrsphay/intelligence-terminal:latest
build:
context: .
dockerfile: Dockerfile
container_name: intelligence-terminal
env_file:
- path: .env
required: false
environment:
PORT: ${PORT:-3117}
AUTO_OPEN_BROWSER: "false"
ports:
- "${PORT:-3117}:${PORT:-3117}"
env_file:
- .env
volumes:
- ./runs:/app/runs
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:'+(process.env.PORT||3117)+'/api/health').then(r=>{if(![200,503].includes(r.status))process.exit(1);return r.json()}).then(j=>{if(j.status==='error')process.exit(1)}).catch(()=>process.exit(1))"]
interval: 60s
timeout: 10s
start_period: 45s
retries: 3