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