ONLYOFFICE Workspace - OneClickInstall

August 7, 2026 ยท View on GitHub

License Docker Pulls Docker Image Version GitHub Stars

ONLYOFFICE Workspace - OneClickInstall

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

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

ONLYOFFICE Workspace is a bundle of web apps for team management and collaboration, including:

  • ๐Ÿ“ Docs - powerful collaborative editors
  • ๐Ÿ“ง Mail - secure mail server
  • ๐Ÿ“Š CRM - customer relationship management
  • ๐Ÿ“ Projects - tasks and milestones tracking
  • ๐Ÿ“… Calendar - event scheduling and reminders

Supports all popular office formats: DOCX, XLSX, PPTX, ODT, PDF, CSV, TXT, HTML, EPUB,
and combines them with collaboration tools for tasks, projects, and team communication - all in one secure platform.

๐Ÿš€ Quick Start

1. Download the installer

Community Edition (default):

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

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

Enterprise Edition

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

Groups (Community Server only)

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

2. Run the script

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

sudo bash workspace-install.sh

Enterprise Edition

sudo bash workspace-enterprise-install.sh

Groups

sudo bash groups-install.sh

You'll be prompted to choose the installation method:

  • Y โ€” Docker install (recommended)
  • N โ€” native .deb / .rpm packages

๐Ÿ›  Flags

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

sudo bash workspace-install.sh --help

Common flags

Works for both Docker and package installations

FlagValue placeholderDefault valueDescription
--installationtypeGROUPS|WORKSPACE|WORKSPACE_ENTERPRISEWORKSPACE_ENTERPRISEEdition
--updatetrue | falsefalseUpdate
--skiphardwarechecktrue | falsefalseSkip checks

Docker flags

Applies only to Docker installation

FlagValue placeholderDefault valueDescription
--communityimage<NAME> | <.tar.gz>onlyoffice/communityserverCS image
--documentimage<NAME> | <.tar.gz>onlyoffice/documentserver-eeDocs image
--mailimage<NAME> | <.tar.gz>onlyoffice/mailserverMail image
--elasticsearchimage<NAME> | <.tar.gz>onlyoffice/elasticsearchES image
--controlpanelimage<NAME> | <.tar.gz>onlyoffice/controlpanelCP image
--mysqlimage<NAME> | <.tar.gz>mysqlMySQL image
--communityversion<VERSION>(latest stable)CS version
--documentversion<VERSION>(latest stable)Docs version
--mailversion<VERSION>(latest stable)Mail version
--elasticsearchversion<VERSION>7.16.3ES version
--controlpanelversion<VERSION>(latest stable)CP version
--documentserverip<IP>-Docs IP
--elasticsearchhost<HOST>-ES host
--elasticsearchport<PORT>9200ES port
--mailserverip<IP>-Mail IP
--mailserverdbip<IP>-Mail DB IP
--hub<DOMAIN>-DockerHub domain
--username<USER>-DockerHub user
--password<PASS>-DockerHub password
--installcstrue | false | pulltrueInstall/skip/pull CS
--installdocstrue | false | pulltrueInstall/skip/pull DS
--installmailservertrue | false | pulltrueInstall/skip/pull Mail
--installelasticsearchtrue | false | pulltrueInstall/skip/pull ES
--installcontrolpaneltrue | false | pulltrueInstall/skip/pull CP
--useasexternalservertrue | falsefalseExpose services
--partnerdatafile<FILE>-Partner data path
--makeswaptrue | falsetrueCreate swap file
--communityport<PORT>80HTTP port for CS
--mysqlhost<HOST>-MySQL host
--mysqlport<PORT>3306MySQL port
--mysqlrootuser<USER>rootMySQL root user
--mysqlrootpassword<PASSWORD>my-secret-pwMySQL root password
--mysqldatabase<DB>onlyofficeCS database name
--mysqluser<USER>onlyoffice_userCS database user
--mysqlpassword<PASSWORD>onlyoffice_passCS user password
--mysqlmaildatabase<DB>onlyoffice_mailserverMail DB name
--mysqlmailuser<USER>mail_adminMail DB user
--mysqlmailpassword<PASSWORD>Isadmin123Mail DB password
--skipversionchecktrue | falsefalseSkip version check
--skipdomainchecktrue | falsefalseSkip domain check
--machinekey<KEY>(auto-generate)machinekey setting
--jwtenabledtrue | falsetrueEnable JWT
--jwtheader<HEADER>AuthorizationJwtJWT header
--jwtsecret<SECRET>(auto-generate)JWT secret key

Package-specific flags

Applies only to package installation

FlagValue placeholderDefault valueDescription
--localscriptstrue | falsefalseRun local scripts

๐Ÿ’ก Examples

Typical usage scenarios with different combinations of flags.

  1. Quick install on port 8080
sudo bash workspace-install.sh --communityport 8080
  1. Update all components, skip hardware check
sudo bash workspace-install.sh \
  --update true \
  --skiphardwarecheck true
  1. Install without Mail Server
sudo bash workspace-install.sh --installmailserver false
  1. Document Server only (external)
sudo bash workspace-install.sh \
  --installcs false \
  --installdocs true \
  --installcontrolpanel false \
  --installmailserver false \
  --useasexternalserver true
  1. Update Community Server to specific version
sudo bash workspace-install.sh \
  --update true \
  --communityversion 12.7.1.1942 \
  --installdocs false \
  --installcontrolpanel false \
  --installmailserver false
  1. Deploy from private registry
sudo bash workspace-install.sh \
  --hub reg.example.com:5000 \
  --username USER --password PASS

๐Ÿ–ฅ System Requirements

ResourceMinimum
CPU4-core
RAM8 GB
Disk40 GB+ free
Swapโ‰ฅ 6 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:

  • CentOS 9S
  • RHEL 9
  • CentOS 10
  • Debian 12
  • Debian 13
  • Ubuntu 22.04
  • Ubuntu 24.04

๐Ÿ“š Additional Resources

ResourceLink
Official websitehttps://www.onlyoffice.com/
Docs installerhttps://github.com/ONLYOFFICE/OneClickInstall-Docs
Help Centerhttps://helpcenter.onlyoffice.com/workspace/installation
Product pagehttps://www.onlyoffice.com/workspace.aspx
Community Forumhttps://community.onlyoffice.com
Stack Overflowhttps://stackoverflow.com/questions/tagged/onlyoffice

๐Ÿ“ License

ONLYOFFICE Workspace is released under the GNU AGPL v3 license for the Community Edition.
Enterprise and other commercial editions require a valid license key. For more details, please contact sales@onlyoffice.com.