mirror of
https://github.com/hanzoai/models.git
synced 2026-10-30 14:53:33 +00:00
22 lines
396 B
YAML
22 lines
396 B
YAML
services:
|
|
models:
|
|
build: .
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- PORT=8080
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- models-data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
models-data:
|