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,40 +1,40 @@
{
"name": "Matomo",
"slug": "matomo",
"categories": [
9
],
"date_created": "2026-07-13",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://matomo.org/docs/",
"website": "https://matomo.org/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/matomo.webp",
"config_path": "/opt/matomo/config/config.ini.php",
"description": "Matomo is the leading free and open-source web analytics platform, providing a privacy-respecting alternative to Google Analytics with full data ownership.",
"install_methods": [
{
"type": "default",
"script": "ct/matomo.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 16,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Complete the setup wizard via the web interface on first access. Database credentials are stored in /opt/matomo/.mariadb-creds.",
"type": "info"
}
]
}
"name": "Matomo",
"slug": "matomo",
"categories": [
9
],
"date_created": "2026-07-13",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://matomo.org/docs/",
"website": "https://matomo.org/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/matomo.webp",
"description": "Matomo is the leading free and open-source web analytics platform, providing a privacy-respecting alternative to Google Analytics with full data ownership.",
"install_methods": [
{
"type": "default",
"script": "ct/matomo.sh",
"config_path": "/opt/matomo/config/config.ini.php",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 16,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Complete the setup wizard via the web interface on first access. Database credentials are stored in /opt/matomo/.mariadb-creds.",
"type": "info"
}
]
}