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,48 +1,48 @@
{
"name": "Anytype",
"slug": "anytype",
"categories": [
12
],
"date_created": "2026-01-29",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 33010,
"documentation": "https://doc.anytype.io/",
"website": "https://anytype.io/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/anytype.webp",
"config_path": "/opt/anytype/.env",
"description": "Anytype is a local-first, privacy-focused alternative to Notion. This script deploys the any-sync-bundle which provides a self-hosted sync server for Anytype clients with external MongoDB and Redis Stack.",
"install_methods": [
{
"type": "default",
"script": "ct/anytype-server.sh",
"resources": {
"cpu": 2,
"ram": 4096,
"hdd": 16,
"os": "Ubuntu",
"version": "24.04"
}
}
],
"default_credentials": {
"username": null,
"password": null
"name": "Anytype",
"slug": "anytype",
"categories": [
12
],
"date_created": "2026-01-29",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 33010,
"documentation": "https://doc.anytype.io/",
"website": "https://anytype.io/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/anytype.webp",
"description": "Anytype is a local-first, privacy-focused alternative to Notion. This script deploys the any-sync-bundle which provides a self-hosted sync server for Anytype clients with external MongoDB and Redis Stack.",
"install_methods": [
{
"type": "default",
"script": "ct/anytype-server.sh",
"config_path": "/opt/anytype/.env",
"resources": {
"cpu": 2,
"ram": 4096,
"hdd": 16,
"os": "Ubuntu",
"version": "24.04"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "After installation, import /opt/anytype/data/client-config.yml into your Anytype apps.",
"type": "info"
},
"notes": [
{
"text": "After installation, import /opt/anytype/data/client-config.yml into your Anytype apps.",
"type": "info"
},
{
"text": "This uses the community any-sync-bundle by grishy, not the official Anytype deployment.",
"type": "warning"
},
{
"text": "Firewall: Open TCP 33010 (DRPC) and UDP 33020 (QUIC) for external access.",
"type": "info"
}
]
}
{
"text": "This uses the community any-sync-bundle by grishy, not the official Anytype deployment.",
"type": "warning"
},
{
"text": "Firewall: Open TCP 33010 (DRPC) and UDP 33020 (QUIC) for external access.",
"type": "info"
}
]
}