-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenv.schema.json
53 lines (53 loc) · 966 Bytes
/
env.schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Environment Variables",
"description": "The environment variables schema for the Safe Places server",
"type": "object",
"properties": {
"JWT_SECRET": {
"type": "string"
},
"EXPRESSPORT": {
"type": "integer"
},
"DB_HOST": {
"type": "string"
},
"DB_PASS": {
"type": "string"
},
"DB_USER": {
"type": "string"
},
"DB_NAME": {
"type": "string"
},
"DB_HOST_PUB": {
"type": "string"
},
"DB_PASS_PUB": {
"type": "string"
},
"DB_USER_PUB": {
"type": "string"
},
"DB_NAME_PUB": {
"type": "string"
},
"DISPLAY_ERROR_MESSAGE": {
"type": "integer"
}
},
"required": [
"JWT_SECRET",
"EXPRESSPORT",
"DB_HOST",
"DB_PASS",
"DB_USER",
"DB_NAME",
"DB_HOST_PUB",
"DB_PASS_PUB",
"DB_USER_PUB",
"DB_NAME_PUB"
]
}