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,51 +1,52 @@
|
||||
{
|
||||
"name": "CoreDNS",
|
||||
"slug": "coredns",
|
||||
"categories": [
|
||||
5
|
||||
],
|
||||
"date_created": "2026-03-27",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": null,
|
||||
"documentation": "https://coredns.io/manual/toc/",
|
||||
"website": "https://coredns.io/",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/coredns.webp",
|
||||
"config_path": "/etc/coredns/Corefile",
|
||||
"description": "CoreDNS is a modern, lightweight, and highly extensible DNS server with a plugin-driven architecture. It is the default DNS engine for Kubernetes and ideal as a local authoritative DNS server for homelabs.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/coredns.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 256,
|
||||
"hdd": 1,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "alpine",
|
||||
"script": "ct/alpine-coredns.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 256,
|
||||
"hdd": 1,
|
||||
"os": "Alpine",
|
||||
"version": "3.23"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
"name": "CoreDNS",
|
||||
"slug": "coredns",
|
||||
"categories": [
|
||||
5
|
||||
],
|
||||
"date_created": "2026-03-27",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": null,
|
||||
"documentation": "https://coredns.io/manual/toc/",
|
||||
"website": "https://coredns.io/",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/coredns.webp",
|
||||
"description": "CoreDNS is a modern, lightweight, and highly extensible DNS server with a plugin-driven architecture. It is the default DNS engine for Kubernetes and ideal as a local authoritative DNS server for homelabs.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/coredns.sh",
|
||||
"config_path": "/etc/coredns/Corefile",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 256,
|
||||
"hdd": 1,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Configuration file is located at /etc/coredns/Corefile",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"type": "alpine",
|
||||
"script": "ct/alpine-coredns.sh",
|
||||
"config_path": "/etc/coredns/Corefile",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 256,
|
||||
"hdd": 1,
|
||||
"os": "Alpine",
|
||||
"version": "3.23"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Configuration file is located at /etc/coredns/Corefile",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user