You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garage-AI/docker-compose.yaml

34 lines
678 B
YAML

version: '3.6'
services:
local-ai:
image: quay.io/go-skynet/local-ai:latest
container_name: local-ai
restart: always
ports:
- 8080:8080
env_file:
- .env
volumes:
- ./models:/models:cached
- ./images:/tmp/generated/images
command: ["chmod -R 777 /tmp", "/usr/bin/local-ai"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
interval: 1m
timeout: 20m
retries: 20
flask-ui:
build:
context: .
image: flask-ui:2.0
container_name: flask-ui
restart: always
ports:
- 5000:5000
depends_on:
local-ai:
condition: service_healthy