-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
110 lines (110 loc) · 2.9 KB
/
compose.yaml
File metadata and controls
110 lines (110 loc) · 2.9 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
98
99
100
101
102
103
104
105
106
107
108
109
110
name: Chatacter
services:
app:
image: ghcr.io/alphaspheredotai/chattr:latest@sha256:2b656fe8bcb35268cb35f1e2ee5f41cc4153606238f0112f317fc2b70109cc29
container_name: chattr
depends_on:
- VectorDatabase
- VideoGenerator
- VoiceGenerator
volumes:
- assets:/home/nonroot/assets
- fastembed:/home/nonroot/fastembed
- logs:/home/nonroot/logs
environment:
MODEL__API_KEY: ${MODEL__API_KEY}
MODEL__NAME: llama3-70b-8192
MODEL__URL: https://api.groq.com/openai/v1
VECTOR_DATABASE__NAME: test
VECTOR_DATABASE__URL: http://vector_database:6333
ports:
- '8000:7860'
restart: always
healthcheck:
interval: 1m30s
retries: 5
start_period: 40s
test:
- "CMD"
- "curl"
- "-o"
- "/dev/null"
- "-f"
- "-s"
- "-w"
- "'Status: %{http_code},\tTime: %{time_total}s'"
- "http://localhost:7860/"
timeout: 10s
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
vector_database:
image: qdrant/qdrant:latest@sha256:94728574965d17c6485dd361aa3c0818b325b9016dac5ea6afec7b4b2700865f
container_name: qdrant
volumes:
- qdrant_storage:/qdrant/storage
ports:
- '6333:6333'
- '6334:6334'
restart: always
video_generator:
image: ghcr.io/alphaspheredotai/visualizr:latest@sha256:2c5b096a66c6ebee1a5c0242a8b42c393e0cfdcda086ae6ceba11f92618ec7aa
container_name: visualizr
volumes:
- assets:/home/nonroot/assets
- fastembed:/home/nonroot/fastembed
- logs:/home/nonroot/logs
ports:
- '8002:7860'
restart: always
healthcheck:
interval: 1m30s
retries: 5
start_period: 40s
test:
- "CMD"
- "curl"
- "-o"
- "/dev/null"
- "-f"
- "-s"
- "-w"
- "'Status: %{http_code},\tTime: %{time_total}s'"
- "http://localhost:7860/"
timeout: 10s
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
voice_generator:
image: ghcr.io/alphaspheredotai/vocalizr:latest@sha256:df1f4fa0615ae3f34249454ddc3a74e3fd955332da507ff2c7d5373190037863
container_name: vocalizr
volumes:
- assets:/home/nonroot/assets
- huggingface:/home/nonroot/hf
- logs:/home/nonroot/logs
environment:
GRADIO_SERVER_PORT: 7860
ports:
- '8001:7860'
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
volumes:
huggingface: