29 lines
573 B
YAML
29 lines
573 B
YAML
version: "3.9"
|
|
services:
|
|
api:
|
|
image: quay.io/go-skynet/local-ai:master
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
|
|
interval: 1m
|
|
timeout: 120m
|
|
retries: 120
|
|
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 |