mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-26 07:57:56 +03:00
Added MariaDB and MySQL to config.json schema.
This commit is contained in:
parent
0a24dd8290
commit
24d422b34c
@ -12,6 +12,27 @@
|
|||||||
"mongoDbName": { "type": "string" },
|
"mongoDbName": { "type": "string" },
|
||||||
"mongoDbChangeStream": { "type": "boolean", "default": false },
|
"mongoDbChangeStream": { "type": "boolean", "default": false },
|
||||||
"mongoDbBulkOperations": { "type": "boolean", "default": false },
|
"mongoDbBulkOperations": { "type": "boolean", "default": false },
|
||||||
|
"mariaDB": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Add this section to connect MeshCentral to a MariaDB database instance.",
|
||||||
|
"properties": {
|
||||||
|
"host": { "type": "string", "description": "MariaDB hostname" },
|
||||||
|
"user": { "type": "string", "description": "MariaDB username" },
|
||||||
|
"port": { "type": "number", "description": "MariaDB port number" },
|
||||||
|
"password": { "type": "string", "description": "MariaDB password" },
|
||||||
|
"connectionLimit": { "type": "number", "description": "MariaDB connection limit" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mySQL": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Add this section to connect MeshCentral to a MySQL database instance.",
|
||||||
|
"properties": {
|
||||||
|
"host": { "type": "string", "description": "MySQL hostname" },
|
||||||
|
"port": { "type": "number", "description": "MySQL port number" },
|
||||||
|
"user": { "type": "string", "description": "MySQL username" },
|
||||||
|
"password": { "type": "string", "description": "MySQL password" }
|
||||||
|
}
|
||||||
|
},
|
||||||
"WANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral WAN features are enabled and agents will connect to the server using a well known DNS name." },
|
"WANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral WAN features are enabled and agents will connect to the server using a well known DNS name." },
|
||||||
"LANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral LAN features are enabled and agents will find the server using multicast LAN packets." },
|
"LANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral LAN features are enabled and agents will find the server using multicast LAN packets." },
|
||||||
"maintenanceMode": { "type": "boolean", "default": false, "description": "When enabled the server is in maintenance mode, only administrators can login. Use the maintenance command in server console to change." },
|
"maintenanceMode": { "type": "boolean", "default": false, "description": "When enabled the server is in maintenance mode, only administrators can login. Use the maintenance command in server console to change." },
|
||||||
|
Loading…
Reference in New Issue
Block a user