mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
29 lines
No EOL
612 B
YAML
29 lines
No EOL
612 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
|
|
chatgpt:
|
|
image: ghcr.io/mckaywrigley/chatbot-ui:main
|
|
# platform: linux/amd64
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
- 'OPENAI_API_KEY=sk-000000000000000'
|
|
- 'OPENAI_API_HOST=http://api:8080'
|
|
|
|
api:
|
|
# image: quay.io/go-skynet/llama-cli:latest
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- MODELS_PATH=/models
|
|
- CONTEXT_SIZE=700
|
|
- THREADS=10
|
|
- DEFAULT_MODEL=/models/7B/ggml-vicuna-7b-4bit.bin
|
|
volumes:
|
|
- /Users/Shared/Models:/models:cached
|
|
command: api
|
|
|