forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
72 lines (67 loc) · 1.15 KB
/
deploy.yaml
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
---
version: "2.0"
services:
opengpt:
image: arc10/opengpt:v0.0.1
depends_on:
- redis
env:
- OPENAI_API_KEY=
- PORT=5173
- REDIS_URL=redis://redis:6379
- YDC_API_KEY=test
- TAVILY_API_KEY=test
- KAY_API_KEY=test
expose:
- port: 5173
as: 80
to:
- global: true
redis:
image: redislabs/redisearch:latest
expose:
- port: 6379
to:
- service: opengpt
profiles:
compute:
opengpt:
resources:
cpu:
units: 4
memory:
size: 15Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
storage:
- size: 20Gi
redis:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 1Gi
placement:
akash:
attributes:
pricing:
opengpt:
denom: uakt
amount: 100000
redis:
denom: uakt
amount: 100000
deployment:
redis:
akash:
profile: redis
count: 1
opengpt:
akash:
profile: opengpt
count: 1