mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 20:57:54 +00:00
c37175271f
Co-authored-by: mudler <mudler@c3os.io> Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
28 lines
578 B
YAML
28 lines
578 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_PATH
|
|
- CONTEXT_SIZE=$CONTEXT_SIZE
|
|
- THREADS=$THREADS
|
|
volumes:
|
|
- ./models:/models:cached
|
|
command: api
|
|
|