-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathapp-spec.yml
87 lines (87 loc) · 2.03 KB
/
app-spec.yml
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
name: documentation-buddy
alerts:
- rule: DEPLOYMENT_FAILED
- rule: DOMAIN_FAILED
ingress:
rules:
- component:
name: chat
match:
path:
prefix: /
- component:
name: memory
match:
path:
prefix: /memory
envs:
- key: BEARER_TOKEN
scope: RUN_TIME
value: "${BEARER_TOKEN}"
region: sfo
services:
- environment_slug: node-js
envs:
- key: OPEN_AI_KEY
scope: RUN_TIME
value: "${OPEN_AI_KEY}"
- key: OPEN_AI_MODEL
scope: RUN_TIME
value: "gpt-3.5-turbo"
- key: TELEGRAM_TOKEN
scope: RUN_TIME
value: "${TELEGRAM_TOKEN}"
- key: EMBEDDINGS_URL
scope: RUN_TIME
value: "${APP_URL}/memory"
- key: SERVER_PORT
scope: RUN_TIME
value: "8080"
- key: STORAGE_NAME
scope: RUN_TIME
value: "${STORAGE_NAME}"
- key: STORAGE_URL
scope: RUN_TIME
value: "${STORAGE_URL}"
- key: STORAGE_KEY
scope: RUN_TIME
value: "${STORAGE_KEY}"
- key: STORAGE_SECRET
scope: RUN_TIME
value: "${STORAGE_SECRET}"
github:
branch: main
deploy_on_push: true
repo: squarecat/doc-buddy
http_port: 8080
instance_count: 1
instance_size_slug: basic-xs
name: chat
run_command: node index.js
source_dir: /
- dockerfile_path: Dockerfile
envs:
- key: OPENAI_API_KEY
scope: RUN_TIME
value: "${OPENAI_API_KEY}"
- key: DATASTORE
scope: RUN_TIME
value: pinecone
- key: PINECONE_API_KEY
scope: RUN_TIME
value: "${PINECONE_API_KEY}"
- key: PINECONE_ENVIRONMENT
scope: RUN_TIME
value: "${PINECONE_ENVIRONMENT}"
- key: PINECONE_INDEX
scope: RUN_TIME
value: "${PINECONE_INDEX}"
github:
branch: main
deploy_on_push: true
repo: squarecat/chatgpt-retrieval-plugin
http_port: 8080
instance_count: 1
instance_size_slug: basic-xxs
name: memory
source_dir: /