Running ONLYOFFICE Docs using Docker Compose

Introduction

Docker Compose allows you to run ONLYOFFICE Docs along with all required services in a single command.

This guide will show you how to install ONLYOFFICE Docs on 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 the Docker team

Installing Docker Compose

Install docker-compose by following the official Docker Compose installation instructions.

Cloning the Docker-DocumentServer repository

Clone the Docker-DocumentServer repository using the following command:

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

Once the repository is cloned, 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 verify that ONLYOFFICE Docs is running correctly, enter http://localhost in your browser address bar to open the ONLYOFFICE Docs welcome page, where you will find further instructions on how to enable document examples or integrate online editors into your web application using the provided API.

To stop ONLYOFFICE Docs, use the following command:

sudo docker compose down
Article with the tag:
Browse all tags