-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathapp.json
131 lines (131 loc) · 3.98 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "Smart Gate API",
"description": "API (server) package designed for Smart Gate System",
"repository": "https://github.com/Jozwiaczek/smart-gate",
"logo": "https://github.com/Jozwiaczek/smart-gate/blob/main/packages/client/public/email-images/sg-logo.png?raw=true",
"image": "https://github.com/Jozwiaczek/smart-gate/blob/main/packages/client/public/email-images/sg-logo.png?raw=true",
"keywords": [
"node",
"home-automation",
"iot",
"smart-home",
"nestjs",
"typescript",
"javascript"
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
],
"addons": [
{
"plan": "heroku-postgresql",
"as": "DATABASE",
"options": {
"version": "12.7"
}
}
],
"env": {
"ACCESS_SECRET": {
"description": "A secret key for verifying authentication layer.",
"generator": "secret"
},
"CLIENT_URL": {
"description": "Address URL of your deployed client(frontend). (Fill after client package deploy)",
"required": false
},
"COOKIE_SECRET": {
"description": "A secret key for verifying the integrity of signed cookies.",
"generator": "secret"
},
"DATABASE_URL": {
"description": "Address URL of your database. (Fill after deploy)",
"required": false
},
"DB_DATABASE": {
"description": "Name of your database. (Fill after deploy)",
"required": false
},
"DB_HOST": {
"description": "Host of your database. (Fill after deploy)",
"required": false
},
"DB_PASSWORD": {
"description": "Password to your database. (Fill after deploy)",
"required": false
},
"DB_PORT": {
"description": "Port where database is running.",
"value": "5432"
},
"DB_USERNAME": {
"description": "Username for your database. (Fill after deploy)",
"required": false
},
"DEVICE_TICKET": {
"description": "A secret key for verifying the websockets connection.",
"generator": "secret"
},
"INVITATION_EXPIRATION_DATE": {
"description": "The amount of time that the invitations are active from the moment they are sent.",
"value": "10 days"
},
"LOGOUT_SECRET": {
"description": "A secret key for verifying logout process.",
"generator": "secret"
},
"PASSWORD_RESET_TIME": {
"description": "The amount of time that user is able to reset his password from the moment that e-mail was sent.",
"value": "600"
},
"PUSH_NOTIFICATION_PRIVATE_VAPID_KEY": {
"description": "Push notification PRIVATE Vapid key. (Check Smart Gate documentation for more details)"
},
"PUSH_NOTIFICATION_PUBLIC_VAPID_KEY": {
"description": "Push notification PUBLIC Vapid key. (Check Smart Gate documentation for more details)"
},
"RATE_LIMIT_MAX_CONCURRENT": {
"value": "100"
},
"RATE_LIMIT_MIN_TIME": {
"value": "60"
},
"REFRESH_SECRET": {
"description": "A secret key for verifying refreshing process of users sessions.",
"generator": "secret"
},
"REPLY_TO": {
"description": "Address email for system e-mails."
},
"SENDER": {
"description": "Sender name for system e-mails.",
"value": "Smart Gate"
},
"SENDGRID_API_KEY": {
"description": "Sendgrid API key."
},
"SENTRY_DEBUG": {
"description": "Define whether you want to enable Sentry debug mode.",
"value": "false",
"required": false
},
"SENTRY_DSN": {
"description": "Your Sentry project DSN URL.",
"required": false
},
"SENTRY_ENABLED": {
"description": "Define whether you want to enable Sentry.",
"value": "false",
"required": false
},
"SENTRY_ENVIRONMENT": {
"required": false,
"value": "production"
},
"SUPER_ADMIN_EMAILS": {
"description": "At first point system does not have any registered users. In order to login to your Smart Gate, you have to provide your e-mail to receive invitation email."
}
}
}