feat: filter meaningful conversations with local model
This commit is contained in:
@@ -155,6 +155,26 @@ services:
|
||||
volumes:
|
||||
- ./deploy/keycloak:/opt/keycloak/data/import:ro
|
||||
|
||||
ollama:
|
||||
profiles: [local-model]
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- "${OLLAMA_PORT:-11434}:11434"
|
||||
volumes:
|
||||
- ollama-data:/root/.ollama
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
healthcheck:
|
||||
test: ["CMD", "ollama", "list"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 30
|
||||
|
||||
otel-collector:
|
||||
image: otel/opentelemetry-collector-contrib:latest
|
||||
command: ["--config=/etc/otelcol-contrib/config.yaml"]
|
||||
@@ -325,3 +345,4 @@ volumes:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
minio-data:
|
||||
ollama-data:
|
||||
|
||||
Reference in New Issue
Block a user