-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
41 lines (41 loc) · 1.13 KB
/
compose.yml
File metadata and controls
41 lines (41 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
services:
leanix-agent:
# image: docker.io/knucklessg1/leanix-agent:latest
build:
context: . # Debug
dockerfile: debug.Dockerfile
container_name: leanix-agent
hostname: leanix-agent
command: [ "leanix-agent" ]
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
restart: always
env_file:
- .env
environment:
- "HOST=0.0.0.0"
- "PORT=9001"
- "TRANSPORT=stdio"
- "LEANIX_WORKSPACE=${LEANIX_WORKSPACE}"
- "LEANIX_API_TOKEN=${LEANIX_API_TOKEN}"
- "PROVIDER=openai"
- "LLM_BASE_URL=${LLM_BASE_URL:-http://host.docker.internal:1234/v1}"
- "LLM_API_KEY=${LLM_API_KEY:-llama}"
- "MODEL_ID=${MODEL_ID:-nvidia/nemotron-3-super}"
- "DEBUG=False"
- "ENABLE_WEB_UI=True"
- "ENABLE_OTEL=True"
ports:
- "9001:9001"
healthcheck:
test: [ "CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9001/health')" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s