---
title: "Deploy ONLYOFFICE Document Server"
description: "Your private office anywhere you go!"
category: "Other"
url: https://railway.com/deploy/3U_har
---

# Deploy ONLYOFFICE Document Server

Your private office anywhere you go!

**[Deploy ONLYOFFICE Document Server on Railway](https://railway.com/template/3U_har)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/3U_har/manifest.json

- **Creator:** bam's Projects
- **Category:** Other
- **Total deploys:** 76

## Template content

### onlyoffice-docserver

- **Image:** onlyoffice/documentserver
- **Public domain:** Yes

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:9
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0`

## Documentation

![](https://link.storjshare.io/jukdnr5svii77oxqkn3csr7lnyka/readme-photos%2Fonlyoffice-doc-server%2Fonlyoffice.png?view=1)

## ONLYOFFICE Docs

_ONLYOFFICE Docs is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time._

![ONLYOFFICE sample Page](https://link.storjshare.io/jwffkyhp563fnz6hnyrqcxwjsa3a/readme-photos%2Fonlyoffice-doc-server%2Fonlyoffice-sample-open-doc-template.png?view=1)

## Highlights

- Document Editor
- Spreadsheet Editor
- Presentation Editor
- Mobile web viewers
- Collaborative editing
- Hieroglyph support
- Support for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTML

## How To Use

1. After deploy, take note of both the **JWT_SECRET** that will be randomly generated and the **URL** that is generated for your server.
2. If not integrating with Nextcloud, please visit the [ONLYOFFICE docs](https://helpcenter.onlyoffice.com/) for more info.
3. If integrating with Nextcloud, first make sure to install the **ONLYOFFICE app**, then navigate to **Administration Settings &gt; ONLYOFFICE**
4. Enter the URL from the railway service as the **ONLYOFFICE Docs address**
5. Enter the JWT_SECRET and the **Secret Key**
6. Click **Save** 
6. Enjoy ONLYOFFICE!

## Learn More

- [ONLYOFFICE website](https://www.onlyoffice.com/)
- [ONLYOFFICE docs](https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx)
- [LICENSE](https://github.com/ONLYOFFICE/DocumentServer/blob/master/LICENSE.txt)

---

<a href="https://www.buymeacoffee.com/bamtech"><img style="height: 60px !important;width: 217px !important;" alt="Buy Me A Coffee" src="https://cdn.buymeacoffee.com/buttons/v2/default-green.png"></a>


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

Open this page in a browser: https://railway.com/deploy/3U_har
