There are questions about automating the installation of onlyoffice to docker and bundles with nextcloud.
1) Configuring nginx
2) Install the onlyoffice application, connect with nextcloud
"/usr/bin/php /var/www/nextcloud/occ --no-warnings app:install onlyoffice" "/usr/bin/php /var/www/nextcloud/occ --no-warnings app:enable onlyoffice" "/usr/bin/php /var/www/nextcloud/occ --no-warnings config:app:set onlyoffice DocumentServerUrl --value=\"https://{{ hostname }}/ds-vpath/\"" "/usr/bin/php /var/www/nextcloud/occ --no-warnings config:app:set onlyoffice DocumentServerInternalUrl --value=\"http://127.0.0.1:8888/\"" "/usr/bin/php /var/www/nextcloud/occ --no-warnings config:app:set onlyoffice StorageUrl --value=\"https://{{ hostname }}/nextcloud \"" 3) Start the document server in the docker: docker run -i -t -d -p 8888:80 --restart=always onlyoffice/documentserver
In order for the onlyoffice application to work, you need to go to nextcloud -> onlyoffice and click save. Or! It is necessary to clear the field in the database (which is a bicycle)
update oc_appconfig set configvalue='1' where appid='onlyoffice' and configkey='settings_error'; Interested in the moment, not to do manual actions. Is it possible?