mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-27 22:15:00 +00:00
add chatbot-ui example
This commit is contained in:
parent
4e2061636e
commit
325bc78acc
3 changed files with 52 additions and 0 deletions
23
examples/chatbot-ui/docker-compose.yaml
Normal file
23
examples/chatbot-ui/docker-compose.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
version: '3.6'
|
||||
|
||||
services:
|
||||
api:
|
||||
image: quay.io/go-skynet/local-ai:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- THREADS=4
|
||||
- CONTEXT_SIZE=512
|
||||
- DEBUG=true
|
||||
- MODELS_PATH=/models
|
||||
volumes:
|
||||
- ./models:/models:cached
|
||||
command: ["/usr/bin/local-ai" ]
|
||||
|
||||
chatgpt:
|
||||
image: ghcr.io/mckaywrigley/chatbot-ui:main
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
- 'OPENAI_API_KEY=sk-XXXXXXXXXXXXXXXXXXXX'
|
||||
- 'OPENAI_API_HOST=http://host.docker.internal:8080'
|
Loading…
Add table
Add a link
Reference in a new issue