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,44 +1,44 @@
|
||||
{
|
||||
"name": "TREK",
|
||||
"slug": "trek",
|
||||
"categories": [
|
||||
0
|
||||
],
|
||||
"date_created": "2026-04-02",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 3000,
|
||||
"documentation": "https://github.com/mauriceboe/TREK#readme",
|
||||
"website": "https://github.com/mauriceboe/TREK",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/trek.webp",
|
||||
"config_path": "/opt/trek/server/.env",
|
||||
"description": "TREK is a self-hosted, real-time collaborative travel planner with interactive maps, budgets, packing lists, weather forecasts, PWA support, and multi-user collaboration via WebSocket.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/trek.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"hdd": 8,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
"name": "TREK",
|
||||
"slug": "trek",
|
||||
"categories": [
|
||||
0
|
||||
],
|
||||
"date_created": "2026-04-02",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 3000,
|
||||
"documentation": "https://github.com/mauriceboe/TREK#readme",
|
||||
"website": "https://github.com/mauriceboe/TREK",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/trek.webp",
|
||||
"description": "TREK is a self-hosted, real-time collaborative travel planner with interactive maps, budgets, packing lists, weather forecasts, PWA support, and multi-user collaboration via WebSocket.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/trek.sh",
|
||||
"config_path": "/opt/trek/server/.env",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"hdd": 8,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "The first user to register becomes the admin.",
|
||||
"type": "info"
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "The first user to register becomes the admin.",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "ENCRYPTION_KEY is auto-generated during setup. See `/opt/trek/server/.env`.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"text": "ENCRYPTION_KEY is auto-generated during setup. See `/opt/trek/server/.env`.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user