-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.18 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.9'
services:
# speaches:
# profiles: [disabled, speaches]
# hostname: speaches.${DOMAIN}
# # container_name: speaches
# image: ghcr.io/speaches-ai/speaches:0.8.0-cpu
# # image: selfdev-speech
# build:
# context: ./selfdev-speech/
# # dockerfile: Dockerfile
# # args:
# # BASE_IMAGE: ubuntu:24.04
# # platforms:
# # - linux/amd64
# # - linux/arm64
# restart: unless-stopped
# ports:
# - 8000:8000
# healthcheck:
# test: ["CMD", "curl", "--fail", "http://0.0.0.0:8000/health"]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 5s
# volumes:
# - speaches-volume:/home/ubuntu/.cache/huggingface/hub
selfdev-speech:
hostname: selfdev-speech.${DOMAIN}
image: selfdev-speech:v0.0.1
build:
context: ./
restart: unless-stopped
ports:
- 8372:8372
healthcheck:
test: ["CMD", "curl", "--fail", "http://0.0.0.0:8372/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
- speech-volume:/home/ubuntu/.cache/huggingface/hub
volumes:
speaches-volume:
speech-volume: