Document Server and ownCloud/Nextcloud Docker installation will install the preconfigured version of ONLYOFFICE Document Server connected to ownCloud/Nextcloud to your server running them in Docker containers.
- The latest version of Docker (can be downloaded here: https://docs.docker.com/engine/installation/)
- Docker compose (can be downloaded here: https://docs.docker.com/compose/install/)
- Get the latest version of git:
sudo apt-get install git
- Get the latest version of this repository running the command:
git clone --recursive https://github.com/ONLYOFFICE/docker-onlyoffice-owncloud
cd docker-onlyoffice-owncloud
git submodule update --remote
- Edit the
docker-compose.yml
file (if you want to connect Document Server to Nextcloud), opening it and altering theimage: owncloud:fpm
line:
image: nextcloud:fpm
This step is optional and, if you want to use Document Server with ownCloud, you do not need to change anything.
- Add the official Docker repository Install the necessary packages to allow the use of repositories through HTTPS.
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- Add the GPG key from the official Docker repository.
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- For security, verify that the signature (fingerprint) is 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88.
sudo apt-key fingerprint 0EBFCD88
- Add the repository using the following instruction for a 64-bit distribution of Ubuntu.
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
- Finally, the indexes of the packages are updated so that this new repository is taken into account.
sudo apt-get update
- Install the software
Once the official repository is ready, the software is installed on the server.
In case you want to install the latest available version you must execute the following command.
sudo apt-get install docker-ce
- Install Compose:
sudo apt-get install docker-compose
- Run Docker Compose: Perhaps you need to change Version from 3 to 2
sudo docker-compose up -d
Please note: you might need to wait a couple of minutes when all the containers are up and running after the above command.
-
Now launch the browser and enter the webserver address. The ownCloud/Nextcloud wizard webpage will be opened. Enter all the necessary data to complete the wizard.
-
Go to the project folder and run the
set_configuration.sh
script:
bash set_configuration.sh
Now you can enter ownCloud/Nextcloud and create a new document. It will be opened in ONLYOFFICE Document Server.
Official website: http://www.onlyoffice.org
Code repository: https://github.com/ONLYOFFICE/docker-onlyoffice-owncloud
SaaS version: http://www.onlyoffice.com
If you have any problems with or questions about ONLYOFFICE Document Server, please visit our official forum to find answers to your questions: dev.onlyoffice.org or you can ask and answer ONLYOFFICE development questions on Stack Overflow.
https://api.onlyoffice.com/editors/callback
actions ---> array of object
changeshistory ---> array of object
changesurl ---> string