-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yaml
More file actions
97 lines (97 loc) · 2.31 KB
/
Copy pathdocker-compose-dev.yaml
File metadata and controls
97 lines (97 loc) · 2.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: Chattr Dev
services:
vector_database:
image: qdrant/qdrant:latest@sha256:45f8e3ddc2570a4d029877e1b5ec1045c19b3852b4e22a55c7f43b05aea0ca89
ports:
- 6333:6333
- 6334:6334
volumes:
- qdrant_storage:/qdrant/storage
restart: on-failure:3
voice_generator:
image: ghcr.io/alphaspheredotai/vocalizr:latest@sha256:df1f4fa0615ae3f34249454ddc3a74e3fd955332da507ff2c7d5373190037863
ports:
- 7861:7860
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
- command: chmod -R 700 /home/nonroot
user: root
volumes:
- huggingface:/home/nonroot/hf
- results:/home/nonroot/results
- logs:/home/nonroot/logs
restart: on-failure:3
environment:
GRADIO_DEBUG: 1
healthcheck:
test:
- CMD
- curl
- -o
- /dev/null
- -f
- -s
- -w
- "'Status: %{http_code},\tTime: %{time_total}s'"
- http://localhost:7860/
interval: 1m30s
timeout: 10s
retries: 5
start_period: 40s
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
video_generator:
image: ghcr.io/alphaspheredotai/visualizr:latest@sha256:2c5b096a66c6ebee1a5c0242a8b42c393e0cfdcda086ae6ceba11f92618ec7aa
ports:
- 7862:7860
volumes:
- assets:/home/nonroot/assets
- checkpoint:/home/nonroot/ckpts
- gfpgan:/home/nonroot/gfpgan
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
- command: chmod -R 700 /home/nonroot
user: root
restart: on-failure:3
environment:
GRADIO_DEBUG: 1
healthcheck:
test:
- CMD
- curl
- -o
- /dev/null
- -f
- -s
- -w
- "'Status: %{http_code},\tTime: %{time_total}s'"
- http://localhost:7860/
interval: 1m30s
timeout: 10s
retries: 5
start_period: 40s
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
volumes:
logs:
assets:
fastembed:
qdrant_storage:
checkpoint:
gfpgan:
huggingface:
results: