mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 00:18:51 +00:00
18 lines
338 B
YAML
18 lines
338 B
YAML
|
version: '3.6'
|
||
|
|
||
|
services:
|
||
|
api:
|
||
|
image: quay.io/go-skynet/local-ai:latest
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- 8080:8080
|
||
|
volumes:
|
||
|
- ./models:/models:cached
|
||
|
command: ["/usr/bin/local-ai"]
|
||
|
|
||
|
frontend:
|
||
|
image: quay.io/go-skynet/localai-frontend:master
|
||
|
ports:
|
||
|
- 3000:3000
|