-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.json
85 lines (85 loc) · 2.35 KB
/
app.json
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
{
"buildpacks": [
{
"url": "heroku/python"
}
],
"description": "A fully async based backend for Brave Chat built using FastAPI, SingleStore, pydantic, SQLAlchemy, Redis, and Deta.",
"env": {
"CORS_ORIGINS": {
"description": "Comma separated urls of the deployed client.",
"required": true
},
"DEBUG": {
"description": "This environment variable defines the debug level.`` means production. `info` to access the docs.",
"required": false,
"value": ""
},
"DETA_PROJECT_KEY": {
"description": "The project key of your Deta account.",
"required": true
},
"JWT_SECRET_KEY": {
"description": "Secret used to sign the JWTs",
"generator": "secret",
"required": true
},
"REDIS_HOST": {
"description": "Your Redis url to the node to connect.",
"required": true
},
"REDIS_PASSWORD": {
"description": "Your Redis account password.",
"required": true
},
"REDIS_PORT": {
"description": "Your Redis node exposed port number.",
"required": true,
"value": ""
},
"REDIS_USERNAME": {
"description": "Your Redis account username. `default` is the default username.",
"required": false,
"value": "default"
},
"SINGLESTORE_DATABASE": {
"description": "The name of the database you want to access, in our case, the `chat` database.",
"required": false,
"value": "chat"
},
"SINGLESTORE_HOST": {
"description": "Your remote MySQL server's domain name.",
"required": true
},
"SINGLESTORE_PASSWORD": {
"description": "The corresponding password for that user.",
"required": true
},
"SINGLESTORE_PORT": {
"description": "The port number where MySQL is listening to.",
"required": false,
"value": "3306"
},
"SINGLESTORE_USERNAME": {
"description": "This is the user name you'll be creating for remote accesses. By default, this variable is equal to admin.",
"required": false,
"value": "admin"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"image": "heroku/python",
"keywords": [
"fastapi",
"singlestore",
"deta",
"api"
],
"name": "brave-chat-server",
"repository": "https://github.com/brave-chat/brave-chat-server",
"success_url": "/docs"
}