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:
CanbiZ (MickLesk)
2026-04-14 14:51:01 +02:00
parent 935f9d9d3d
commit 36a4635772
81 changed files with 2621 additions and 2611 deletions

View File

@@ -1,44 +1,44 @@
{
"name": "LabCA",
"slug": "labca",
"categories": [
6
],
"date_created": "2026-03-25",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3000,
"documentation": "https://github.com/hakwerk/labca",
"website": "https://github.com/hakwerk/labca",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/labca.webp",
"config_path": "/etc/labca/config.json",
"description": "LabCA is a standalone web GUI for managing ACME certificate authorities like step-ca, providing dashboard, certificate overview, and admin management.",
"install_methods": [
{
"type": "default",
"script": "ct/labca.sh",
"resources": {
"cpu": 1,
"ram": 512,
"hdd": 2,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
"name": "LabCA",
"slug": "labca",
"categories": [
6
],
"date_created": "2026-03-25",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3000,
"documentation": "https://github.com/hakwerk/labca",
"website": "https://github.com/hakwerk/labca",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/labca.webp",
"description": "LabCA is a standalone web GUI for managing ACME certificate authorities like step-ca, providing dashboard, certificate overview, and admin management.",
"install_methods": [
{
"type": "default",
"script": "ct/labca.sh",
"config_path": "/etc/labca/config.json",
"resources": {
"cpu": 1,
"ram": 512,
"hdd": 2,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "On first access, you will be prompted to create an admin account and configure the database connection to your step-ca instance.",
"type": "info"
},
"notes": [
{
"text": "On first access, you will be prompted to create an admin account and configure the database connection to your step-ca instance.",
"type": "info"
},
{
"text": "LabCA standalone requires a MySQL-backed step-ca instance to connect to.",
"type": "warning"
}
]
}
{
"text": "LabCA standalone requires a MySQL-backed step-ca instance to connect to.",
"type": "warning"
}
]
}