Artículos con :
Cerrar
Changelog
Cerrar
Pruébelo en la nube
Centro de ayuda
ONLYOFFICE Docs Community Edition for Docker

Running ONLYOFFICE Docs using Docker Compose

ONLYOFFICE Docsv6.4 ONLYOFFICE Docs changelog

Version 6.4.1

Release date: 09/28/2021

Version 6.4.0

Release date: 08/26/2021

Version 6.3.2

Release date: 08/10/2021

Version 6.3.1

Release date: 06/08/2021

Version 6.3.0

Release date: 05/20/2021

Version 6.2.2

Release date: 04/19/2021

Version 6.2.1

Release date: 03/31/2021

Version 6.2.0

Release date: 03/01/2021

Version 6.1.1

Release date: 01/28/2021

Version 6.1.0

Release date: 12/02/2020

Version 6.0.2

Release date: 11/12/2020

Version 6.0.1

Release date: 10/28/2020

Version 6.0.0

Release date: 10/14/2020

Version 5.6.5

Release date: 09/21/2020

Version 5.6.4

Release date: 09/08/2020

Version 5.6.3

Release date: 08/17/2020

Version 5.6.2

Release date: 08/07/2020

Version 5.6.1

Release date: 08/05/2020

Version 5.6.0

Release date: 07/29/2020

Version 5.5.3

Release date: 05/22/2020

Version 5.5.1

Release date: 04/09/2020

Version 5.5.0

Release date: 03/05/2020

Version 5.4.2

Release date: 11/27/2019

Version 5.4.1

Release date: 10/02/2019

Version 5.4.0

Release date: 09/03/2019

Version 5.3.4

Release date: 07/16/2019

Version 5.3.2

Release date: 06/24/2019

Version 5.3.1

Release date: 06/06/2019

Version 5.3.0

Release date: 05/28/2019

Version 5.2.8

Release date: 02/05/2019

Version 5.2.7

Release date: 01/16/2019

Version 5.2.6

Release date: 12/25/2018

Version 5.2.4

Release date: 12/12/2018

Version 5.2.3

Release date: 10/31/2018

Version 5.2.2

Release date: 10/05/2018

Version 5.2.0

Release date: 09/28/2018

Version 5.1.5

Release date: 07/18/2018

Version 5.1.4

Release date: 05/24/2018

Version 5.1.3

Release date: 04/27/2018

Version 5.1.2

Release date: 04/11/2018

Version 5.1.1

Release date: 04/05/2018

Version 5.1.0

Release date: 03/28/2018

Version 5.0.7

Release date: 01/16/2018

Version 5.0.6

Release date: 12/11/2017

Version 5.0.5

Release date: 11/28/2017

Version 5.0.4

Release date: 11/14/2017

Version 5.0.3

Release date: 11/02/2017

Version 5.0.2 SaaS only

Release date: 10/13/2017

Version 5.0.1 SaaS only

Release date: 10/05/2017

Version 5.0.0 SaaS only

Release date: 09/23/2017

Version 4.4.4

Release date: 09/13/2017

Windows-only release

See changelog on GitHub

Version 4.4.3

Release date: 08/14/2017

Version 4.4.2

Release date: 07/24/2017

Version 4.4.1

Release date: 07/05/2017

Version 4.3.6

Release date: 06/14/2017

Version 4.3.5

Release date: 06/05/2017

Version 4.3.4

Release date: 05/16/2017

Version 4.3.3

Release date: 04/28/2017

Version 4.3.2

Release date: 04/17/2017

Version 4.3.1

Release date: 04/06/2017

Version 4.3.0

Release date: 04/03/2017

Version 4.2.11

Release date: 03/13/2017

Version 4.2.10

Release date: 02/20/2017

Version 4.2.9

Release date: 02/14/2017

Version 4.2.8

Release date: 02/06/2017

Version 4.2.7

Release date: 02/01/2017

Version 4.2.5

Release date: 01/16/2017

Version 4.2.4

Release date: 01/09/2017

Version 4.2.3

Release date: 12/23/2016

Version 4.2.2

Release date: 12/21/2016

Version 4.2.1

Release date: 12/06/2016

Version 4.2.0

Release date: 12/01/2016

Version 4.1.8

Release date: 11/03/2016

Version 4.1.7

Release date: 11/01/2016

Version 4.1.6

Release date: 10/26/2016

Version 4.1.5

Release date: 10/13/2016

Version 4.1.4

Release date: 10/07/2016

Version 4.1.3

Release date: 09/28/2016

Version 4.1.2

Release date: 09/22/2016

Version 4.0.3

Release date: 08/04/2016

Version 4.0.2

Release date: 08/03/2016

Introduction

Docker Compose allows you to:

  • run ONLYOFFICE Docs and all the necessary infrastructure in a distributed manner;
    This instruction describes how to use the Docker Compose tool on a single computer. To run containers in a distributed manner on several hosts please refer to the Docker Swarm documentation.
  • flexibly scale ONLYOFFICE Docs performance;
  • provide fault-tolerance and high availability of the application.

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

System requirements

  • Procesador
    procesador de doble núcleo con una frecuencia de reloj de 2 GHz o superior
  • RAM
    2 GB o más
  • HDD
    al menos 40 GB de espacio libre
  • Requisitos adicionales
    at least 4 GB of swap
  • OS
    amd64 distributivo Linux con la versión del núcleo 3.10 o posterior
  • Requisitos adicionales
    • Docker: versión 1.10 o superior

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 scale ONLYOFFICE Docs execute the following command:

sudo docker-compose scale onlyoffice-documentserver=<container_number>

where container_number is a number of the ONLYOFFICE Docs containers running concurrently.

To stop ONLYOFFICE Docs use the following command:

sudo docker-compose down

Configuring ONLYOFFICE Docs

Using custom fonts

Mount the fonts folder from your local machine to the fonts folder within the onlyoffice-documentserver-data container. To do that:

  1. open the docker-compose.yml file,
  2. find the services -> onlyoffice-documentserver-data -> volumes section,
  3. replace the - /usr/share/fonts string with the following one:
     - /your_local_fonts_folder:/usr/share/fonts
    

Setting up HTTPS

To use the HTTPS protocol you need to uncomment the following strings in the docker-compose.yml file:

- FORCE_SSL=true
- CERT_FOLDER=/certs/
- /app/onlyoffice/DocumentServer/data/certs/onlyoffice.pem:/certs/cert1.pem

Create the /app/onlyoffice/DocumentServer/data/certs/onlyoffice.pem file that contains a certificate and a private key.

When using CA certified certificates, the Private key (.key) and SSL certificate (.crt) are provided to you by the CA. When using self-signed certificates you need to generate these files yourself. Skip steps 1-3 in the following section if you have CA certified SSL certificates.

Generation of self signed certificates

Generation of self-signed SSL certificates involves a simple 3 step procedure

STEP 1: Create the server private key
openssl genrsa -out onlyoffice.key 2048
STEP 2: Create the certificate signing request (CSR)
openssl req -new -key onlyoffice.key -out onlyoffice.csr
STEP 3: Sign the certificate using the private key and CSR
openssl x509 -req -days 365 -in onlyoffice.csr -signkey onlyoffice.key -out onlyoffice.crt
STEP 4: Merge both the files
cp onlyoffice.crt onlyoffice.pem
cat onlyoffice.key >> onlyoffice.pem
Download Host on your own server Available for
Docker, Windows and Linux
También le podría gustar:
Cerrar