Self-host ONLYOFFICE Docs
updated Sep 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Sep 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
An online document editor for text documents, spreadsheets, presentations and PDFs with real-time co-editing, using the Office Open XML formats (DOCX, XLSX, PPTX) natively. It has no file manager of its own and is used through an integration such as Nextcloud, Seafile or ownCloud.
Key facts
CategoryOffice suite
LicenseAGPL-3.0
StackJavaScript, C++
Min RAM4096 MB
Official imageyes
Measured idle RAM454 MB
Difficulty
What you need
- Any VPS with at least 4096 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + USKamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + AsiaDigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + AsiaPaid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# ONLYOFFICE Docs (Community Edition) — the official image; JWT_SECRET must be fixed or it is regenerated on restart
docker run -d --name onlyoffice --restart=always -p 8080:80 \
-e JWT_SECRET="$(openssl rand -hex 32)" \
onlyoffice/documentserver
# first start takes a few minutes; then connect it from Nextcloud/Seafile/ownCloud with the same JWT secret
# docker exec onlyoffice printenv JWT_SECRET → http://SERVER_IP:8080An alternative to
More self-hosted tools
Office suite
Collabora Online
C++JavaScript
easyRead guide →
Project Management
WeKan
JavaScriptMeteorFerretDBSQLite
easyRead guide →
Password manager
KeeWeb
JavaScript
easyRead guide →
File sync & storage
Nextcloud
PHPJavaScript
moderateRead guide →