-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 798 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (33 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
api:
build:
context: ./services/api
image: nguyenson1710/distill-gpt55-api:latest
environment:
MODEL_PATH: /models/distill-gpt55-v0.5-Q4_K_M.gguf
CORS_ALLOW_ORIGINS: http://localhost:3000
volumes:
- ./checkpoints/gguf:/models:ro
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8000/readyz"]
interval: 15s
timeout: 5s
start_period: 90s
retries: 5
networks: [distill]
web:
build:
context: ./services/web
args:
VITE_API_BASE_URL: http://localhost:8000
image: nguyenson1710/distill-gpt55-web:latest
depends_on:
api:
condition: service_healthy
ports:
- "3000:3000"
networks: [distill]
networks:
distill: