refactor: move config_path from root into install_methods
Migrated all 80 app JSON files to place config_path inside each install_methods object instead of at the root level. This allows different install methods (e.g. Debian vs Alpine) to have distinct config paths. Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
@@ -1,42 +1,44 @@
|
||||
{
|
||||
"name": "SurrealDB",
|
||||
"slug": "surrealdb",
|
||||
"categories": [8],
|
||||
"date_created": "2026-02-26",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 8000,
|
||||
"documentation": "https://surrealdb.com/docs",
|
||||
"website": "https://surrealdb.com/",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/surrealdb.webp",
|
||||
"config_path": "/opt/surrealdb/.env",
|
||||
"description": "SurrealDB is a multi-model database that combines the power of document, graph, and relational databases into a single platform, offering real-time queries, built-in permissions, and a simplified backend stack.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/surrealdb.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 1024,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": "root",
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "SurrealDB web interface is available on port 8000.",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Default credentials are saved in ~/surrealdb.creds.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
"name": "SurrealDB",
|
||||
"slug": "surrealdb",
|
||||
"categories": [
|
||||
8
|
||||
],
|
||||
"date_created": "2026-02-26",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 8000,
|
||||
"documentation": "https://surrealdb.com/docs",
|
||||
"website": "https://surrealdb.com/",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/surrealdb.webp",
|
||||
"description": "SurrealDB is a multi-model database that combines the power of document, graph, and relational databases into a single platform, offering real-time queries, built-in permissions, and a simplified backend stack.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/surrealdb.sh",
|
||||
"config_path": "/opt/surrealdb/.env",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 1024,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": "root",
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "SurrealDB web interface is available on port 8000.",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Default credentials are saved in ~/surrealdb.creds.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user