49 lines
2.4 KiB
JSON
49 lines
2.4 KiB
JSON
{
|
|
"title": "Pi Control",
|
|
"version": "0.1.0",
|
|
"description": "Verwaltung und Steuerung von Raspberry Pis (SSH/Commands/Presets).",
|
|
"menu": [
|
|
{ "label": "Übersicht", "href": "/module/pi_control" },
|
|
{ "label": "Hosts", "href": "/module/pi_control/hosts" },
|
|
{ "label": "Befehle", "href": "/module/pi_control/commands" },
|
|
{ "label": "Konsole", "href": "/module/pi_control/console" },
|
|
{ "label": "Setup", "href": "/modules/setup/pi_control" }
|
|
],
|
|
"sidebar": {
|
|
"enabled": true,
|
|
"collapsible": true,
|
|
"default": "collapsed",
|
|
"items": [
|
|
{ "label": "Übersicht", "href": "/module/pi_control" },
|
|
{ "label": "Hosts", "href": "/module/pi_control/hosts" },
|
|
{ "label": "Befehle", "href": "/module/pi_control/commands" },
|
|
{ "label": "Konsole", "href": "/module/pi_control/console" },
|
|
{ "label": "Setup", "href": "/modules/setup/pi_control" }
|
|
]
|
|
},
|
|
"setup": {
|
|
"fields": [
|
|
{ "name": "use_separate_db", "label": "Eigene Modul-DB nutzen", "type": "checkbox", "required": false, "help": "Wenn aktiv, werden die DB-Daten unten verwendet. Sonst wird die Base-DB genutzt." },
|
|
{ "name": "db.driver", "label": "DB Driver", "type": "text", "required": false, "help": "z.B. pgsql, mysql, sqlite" },
|
|
{ "name": "db.host", "label": "DB Host", "type": "text", "required": false },
|
|
{ "name": "db.port", "label": "DB Port", "type": "number", "required": false },
|
|
{ "name": "db.dbname", "label": "DB Name", "type": "text", "required": false },
|
|
{ "name": "db.schema", "label": "DB Schema", "type": "text", "required": false },
|
|
{ "name": "db.user", "label": "DB User", "type": "text", "required": false },
|
|
{ "name": "db.password", "label": "DB Passwort", "type": "password", "required": false },
|
|
{ "name": "ttyd_url", "label": "ttyd URL", "type": "text", "required": false, "help": "z.B. https://staging.nexus.int.kusche.berlin/ttyd" },
|
|
{ "name": "terminal_token_ttl", "label": "Token TTL (Minuten)", "type": "number", "required": false, "help": "Gültigkeit der Konsole-Token, z.B. 10" },
|
|
{ "name": "terminal_shared_secret", "label": "Terminal Shared Secret", "type": "password", "required": false, "help": "Zusätzliche Absicherung für terminal_info (Header X-Terminal-Secret)" }
|
|
]
|
|
},
|
|
"db_defaults": {
|
|
"driver": "pgsql",
|
|
"host": "localhost",
|
|
"port": 5432,
|
|
"dbname": "",
|
|
"schema": "public",
|
|
"user": "",
|
|
"password": ""
|
|
}
|
|
}
|