diff --git a/frontend/public/json/onlyoffice.json b/frontend/public/json/onlyoffice.json new file mode 100644 index 00000000..d2fd1bcb --- /dev/null +++ b/frontend/public/json/onlyoffice.json @@ -0,0 +1,35 @@ +{ + "name": "ONLYOFFICE Docs", + "slug": "onlyoffice", + "categories": [ + 9 + ], + "date_created": "2025-06-17", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 80, + "documentation": "https://helpcenter.onlyoffice.com/docs", + "website": "https://onlyoffice.com/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/onlyoffice.webp", + "config_path": "/etc/onlyoffice/documentserver/local.json", + "description": "ONLYOFFICE Docs is an open-source online office suite that provides collaborative editors for text documents, spreadsheets, and presentations, fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX).", + "install_methods": [ + { + "type": "default", + "script": "ct/onlyoffice.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 10, + "os": "Debian", + "version": "12" + } + } + ], + "default_credentials": { + "username": "admin", + "password": "admin" + }, + "notes": [] +} diff --git a/install/onlyoffice-install.sh b/install/onlyoffice-install.sh index 1ec12857..f78bed15 100644 --- a/install/onlyoffice-install.sh +++ b/install/onlyoffice-install.sh @@ -41,7 +41,7 @@ msg_ok "Set up Database" msg_info "Adding ONLYOFFICE Repository and GPG Key" mkdir -p -m 700 ~/.gnupg -$STD curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | $STD gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import +$STD curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import chmod 644 /tmp/onlyoffice.gpg chown root:root /tmp/onlyoffice.gpg mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg