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,52 +1,52 @@
{
"name": "Pixelfed",
"slug": "pixelfed",
"categories": [
0
],
"date_created": "2024-06-15",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://docs.pixelfed.org/",
"config_path": "/opt/pixelfed/.env",
"website": "https://pixelfed.org/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/pixelfed.webp",
"description": "Pixelfed is a free, ethical, and decentralized photo sharing platform powered by ActivityPub federation. It offers an ad-free, privacy-focused alternative to Instagram with features like Stories, Collections, and photo filters.",
"install_methods": [
{
"type": "default",
"script": "ct/pixelfed.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 10,
"os": "Debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
"name": "Pixelfed",
"slug": "pixelfed",
"categories": [
0
],
"date_created": "2024-06-15",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://docs.pixelfed.org/",
"website": "https://pixelfed.org/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/pixelfed.webp",
"description": "Pixelfed is a free, ethical, and decentralized photo sharing platform powered by ActivityPub federation. It offers an ad-free, privacy-focused alternative to Instagram with features like Stories, Collections, and photo filters.",
"install_methods": [
{
"type": "default",
"script": "ct/pixelfed.sh",
"config_path": "/opt/pixelfed/.env",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 10,
"os": "Debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Create admin account with: cd /opt/pixelfed && sudo -u pixelfed php artisan user:create",
"type": "warning"
},
"notes": [
{
"text": "Create admin account with: cd /opt/pixelfed && sudo -u pixelfed php artisan user:create",
"type": "warning"
},
{
"text": "Credentials are stored in /opt/pixelfed/.env",
"type": "info"
},
{
"text": "ActivityPub federation is enabled by default",
"type": "info"
},
{
"text": "Uses PostgreSQL, Redis (socket), and PHP-FPM",
"type": "info"
}
]
{
"text": "Credentials are stored in /opt/pixelfed/.env",
"type": "info"
},
{
"text": "ActivityPub federation is enabled by default",
"type": "info"
},
{
"text": "Uses PostgreSQL, Redis (socket), and PHP-FPM",
"type": "info"
}
]
}