mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
19 lines
443 B
YAML
19 lines
443 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
api:
|
|
image: quay.io/go-skynet/local-ai:latest
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
# args:
|
|
# BUILD_TYPE: generic # Uncomment to build CPU generic code that works on most HW
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- MODELS_PATH=$MODELS_PATH
|
|
- CONTEXT_SIZE=$CONTEXT_SIZE
|
|
- THREADS=$THREADS
|
|
- DEBUG=$DEBUG
|
|
volumes:
|
|
- ./models:/models:cached |