ONLYOFFICE Docs - OneClickInstall

May 20, 2026 ยท View on GitHub

License Docker Pulls Docker Image Version GitHub Stars

ONLYOFFICE Docs - OneClickInstall

A simple self-hosted installer for ONLYOFFICE Docs using Docker or Linux packages.

๐Ÿš€ Start๐Ÿ›  Flags๐Ÿ’ก Examples๐Ÿ–ฅ๏ธ Reqsโœ… OS๐Ÿ“š Resources๐Ÿ“ License

ONLYOFFICE Docs is an open-source office suite that comprises all the tools you need to work with documents, spreadsheets, presentations, PDFs, and PDF forms.

With just one script, you can deploy ONLYOFFICE Docs as a standalone document editing service.

ONLYOFFICE Docs is also a core component of broader collaboration platforms:

  • ONLYOFFICE DocSpace is a room-based collaboration platform for project or team documents.
  • ONLYOFFICE Workspace is a full-featured solution with document management, mail, calendar, CRM, and more.

To deploy these platforms, use their own dedicated installation scripts.
This script installs only the Docs component, which can be integrated with them or used independently.

Supports all popular formats: DOCX, XLSX, PPTX, ODT, PDF, CSV, TXT, HTML, EPUB, and more.
Works with platforms like Nextcloud, ownCloud, Alfresco, or independently via Docker or Linux packages.

๐Ÿš€ Quick Start

1. Download the installer

Community Edition (default)

curl -O https://download.onlyoffice.com/docs/docs-install.sh

If you want to install a different edition, choose one of the following:

Enterprise Edition

curl -O https://download.onlyoffice.com/docs/docs-enterprise-install.sh

Developer Edition

curl -O https://download.onlyoffice.com/docs/docs-developer-install.sh

2. Run the script

The script detects your OS and installs ONLYOFFICE Docs using Docker (or native packages, if selected).

sudo bash docs-install.sh

Enterprise Edition

sudo bash docs-enterprise-install.sh

Developer Edition

sudo bash docs-developer-install.sh

You'll be prompted to choose the installation method:

  • Y - Docker (recommended)
  • N - .deb / .rpm packages

๐Ÿ›  Flags

All scripts support --help to show available flags. View available options with:

sudo bash docs-install.sh --help

Common flags

Works for both Docker and package installations

FlagValue placeholderDefault valueDescription
--installationtypecommunity|enterprise|developercommunityChoose edition
--updatetrue | falsefalseUpdate components
--skiphardwarechecktrue | falsefalseSkip hardware check
--jwtenabledtrue | falsetrueEnable JWT validation
--jwtheader<HEADER_NAME>AuthorizationJwtJWT HTTP header
--jwtsecret<JWT_SECRET>(auto-generate)JWT secret key
--wopienabledtrue | falsefalseEnable WOPI protocol
--localscriptstrue | falsefalseRun local scripts
--docsport<PORT>80Docs port
--uninstalltrue | falsefalseUninstall ONLYOFFICE Docs

Docker flags

Applies only to Docker installation

FlagValue placeholderDefault valueDescription
--documentimage<name> | <path>onlyoffice/documentserverImage name or .tar.gz path
--documentversion<VERSION_TAG>(latest stable)Image tag / version
--installdocstrue | false | pulltrueInstall Docs or just pull images
--registry<URL>-Docker registry URL
--username<USERNAME>-Docker registry username
--password<PASSWORD>-Docker registry password
--externalservertrue | falsetrueExpose Docs externally
--skipversionchecktrue | falsefalseSkip version check
--letsencryptdomain<DOMAIN>-Domain for Let's Encrypt cert
--letsencryptmail<EMAIL>-Admin email for Let's Encrypt

๐Ÿ’ก Examples

Typical usage scenarios with different combinations of flags.

  1. Quick install on non-default port 8080 (default is 80)
sudo bash docs-install.sh --docsport 8080
  1. Update in Developer mode, skipping hardware checks
sudo bash docs-install.sh \
  --update true \
  --installationtype DEVELOPER \
  --skiphardwarecheck true
  1. Update from a private registry
sudo bash docs-install.sh \
  --update true \
  --registry https://reg.example.com:5000 \
  --username USER \
  --password PASS
  1. Install a specific Document Server image & version
sudo bash docs-install.sh \
  --documentimage onlyoffice/documentserver \
  --documentversion 8.3.3
  1. Enable JWT with custom header & secret
sudo bash docs-install.sh \
  --jwtenabled true \
  --jwtheader "AuthorizationJwt" \
  --jwtsecret "SecretString"
  1. Pull images only (offline prep)
sudo bash docs-install.sh \
  --installdocs pull \
  --documentimage onlyoffice/documentserver \
  --documentversion 8.0.0
  1. Install with free HTTPS via Let's Encrypt
sudo bash docs-install.sh \
  --letsencryptdomain example.com \
  --letsencryptmail admin@example.com
  1. Uninstall ONLYOFFICE Docs
sudo bash docs-install.sh --uninstall true

๐Ÿ–ฅ System Requirements

ResourceMinimum
CPUDual-core 2 GHz
RAM2 GB+ (pkg) / 4 GB+ (Docker)*
Disk40 GB+ free
Swapโ‰ฅ 4 GB
KernelLinux 3.10+ (x86_64)

* Minimum requirements for test environments. For production, 8 GB RAM or more is recommended.

โœ… Supported Operating Systems

The installation scripts support the following operating systems, which are regularly tested as part of our CI/CD pipelines:

  • RHEL 8
  • RHEL 9
  • CentOS 8 Stream
  • CentOS 9 Stream
  • CentOS 10 Stream
  • Amazon Linux 2023
  • Debian 10
  • Debian 11
  • Debian 12
  • Debian 13
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu 26.04

๐Ÿ“š Additional Resources

ResourceLink
Official websitehttps://www.onlyoffice.com/
Code repositoryhttps://github.com/ONLYOFFICE/DocumentServer
Docker imagehttps://github.com/ONLYOFFICE/Docker-DocumentServer
Help Centerhttps://helpcenter.onlyoffice.com/docs/installation
Product pagehttps://www.onlyoffice.com/office-suite.aspx
Community Forumhttps://forum.onlyoffice.com
Stack Overflowhttps://stackoverflow.com/questions/tagged/onlyoffice

๐Ÿ“ License

ONLYOFFICE Docs is distributed under the GNU AGPL v3 license (for the Community Edition).
Enterprise and Developer editions require a valid commercial license. For more details, please contact sales@onlyoffice.com.