Running ONLYOFFICE Docs using Docker Compose

Introduction

Docker Compose allows you to quickly and easily run ONLYOFFICE Docs and all the necessary infrastructure.

This guide will show you how to install ONLYOFFICE Docs to your machine using Docker Compose.

System requirements
  • CPU: dual core 2 GHz or better
  • RAM: 4 GB or more
  • HDD: at least 40 GB of free space
  • SWAP: at least 4 GB, but depends on the host OS. More is better
  • OS: amd64 Linux distribution with kernel version 3.10 or later
  • Additional requirements:
    • Docker: any version supported by Docker team

Installing Docker Compose

Install docker-compose following the instructions that can be found here.

Downloading the Docker-DocumentServer repository

Download the latest version of the Docker-DocumentServer repository by executing the following command:

git clone https://github.com/ONLYOFFICE/Docker-DocumentServer

Once the repository is downloaded, go to the Docker-DocumentServer folder:

cd Docker-DocumentServer

Starting and using ONLYOFFICE Docs

To start ONLYOFFICE Docs, execute the following command:

sudo docker-compose up -d

To stop ONLYOFFICE Docs, use the following command:

sudo docker-compose down

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags