mirror of
https://github.com/katanemo/plano.git
synced 2026-05-15 11:02:39 +02:00
Add support for local llm (mistral 7b) (#31)
This commit is contained in:
parent
b49fc2f264
commit
445b1ea210
24 changed files with 703 additions and 51 deletions
|
|
@ -17,8 +17,6 @@ services:
|
|||
volumes:
|
||||
- ./generated/envoy.yaml:/etc/envoy/envoy.yaml
|
||||
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
|
||||
networks:
|
||||
- envoymesh
|
||||
depends_on:
|
||||
config-generator:
|
||||
condition: service_completed_successfully
|
||||
|
|
@ -35,17 +33,14 @@ services:
|
|||
test: ["CMD", "curl" ,"http://localhost:80/healthz"]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
networks:
|
||||
- envoymesh
|
||||
|
||||
volumes:
|
||||
- ~/.cache/huggingface:/root/.cache/huggingface
|
||||
qdrant:
|
||||
image: qdrant/qdrant
|
||||
hostname: vector-db
|
||||
ports:
|
||||
- 16333:6333
|
||||
- 16334:6334
|
||||
networks:
|
||||
- envoymesh
|
||||
|
||||
chatbot-ui:
|
||||
build:
|
||||
|
|
@ -53,8 +48,6 @@ services:
|
|||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "18080:8080"
|
||||
networks:
|
||||
- envoymesh
|
||||
environment:
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- CHAT_COMPLETION_ENDPOINT=http://envoy:10000/v1/chat/completions
|
||||
|
|
@ -70,8 +63,6 @@ services:
|
|||
volumes:
|
||||
- ./prometheus:/etc/prometheus
|
||||
- ./prom_data:/prometheus
|
||||
networks:
|
||||
- envoymesh
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
|
|
@ -86,9 +77,3 @@ services:
|
|||
- ./grafana:/etc/grafana/provisioning/datasources
|
||||
- ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/main.yaml
|
||||
- ./grafana/dashboards:/var/lib/grafana/dashboards
|
||||
# - ./grafana-data:/var/lib/grafana
|
||||
networks:
|
||||
- envoymesh
|
||||
|
||||
networks:
|
||||
envoymesh: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue