-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigschema.json
60 lines (60 loc) · 1.91 KB
/
configschema.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
{
"$id": "http://github.com/tapis-project/tenants-api/tenants-api/configschema.json",
"$schema": "http://json-schema.org/schema#",
"properties": {
"python_framework_type": {
"type": "string",
"default": "django",
"description": "The framework this service will use. e.g. Flask, Django, FastApi, etc."
},
"databases": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.*": {
"type": "object",
"description": "Object containing database config properties.",
"additionalProperties": false,
"required": [
"NAME",
"USER",
"PASSWORD",
"HOST",
"PORT"
],
"properties": {
"ENGINE": {
"type": "string",
"description": "Engine options for connection. Use 'django_tenants.postgresql_backend' for Django Tenants support",
"default": "django_tenants.postgresql_backend"
},
"NAME": {
"type": "string",
"description": "The name of the database to use when connecting to this database."
},
"USER": {
"type": "string",
"description": "The user to use to connect to this database."
},
"PASSWORD": {
"type": "string",
"description": "The password to use to connect to this database."
},
"HOST": {
"type": "string",
"description": "The host to use to connect to this database."
},
"PORT": {
"type": "integer",
"description": "The port to use to connect to this database."
},
"OPTIONS": {
"type": "object",
"description": "Postgres connection options."
}
}
}
}
}
}
}