This commit is contained in:
mudler
2023-07-28 19:46:30 +02:00
parent 00391615f7
commit d6e3b97308
8 changed files with 289 additions and 28 deletions

24
docker-compose.yaml Normal file
View File

@@ -0,0 +1,24 @@
version: "3.9"
services:
api:
image: quay.io/go-skynet/local-ai:master
ports:
- 8090:8080
env_file:
- .env
volumes:
- ./models:/models:cached
command: ["/usr/bin/local-ai" ]
miniagi:
build:
context: .
dockerfile: Dockerfile
devices:
- /dev/snd
depends_on:
api:
condition: service_healthy
volumes:
- ./db:/app/db
env_file:
- .env