You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
436 B
23 lines
436 B
1 year ago
|
version: "3.9"
|
||
|
services:
|
||
|
api:
|
||
|
image: quay.io/go-skynet/local-ai:master
|
||
|
ports:
|
||
|
- 8080:8080
|
||
|
env_file:
|
||
|
- .env
|
||
|
environment:
|
||
|
- DEBUG=true
|
||
|
- MODELS_PATH=/models
|
||
|
volumes:
|
||
|
- ./models:/models:cached
|
||
|
command: ["/usr/bin/local-ai" ]
|
||
|
functions:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
depends_on:
|
||
|
api:
|
||
|
condition: service_healthy
|
||
|
env_file:
|
||
|
- .env
|