2021-04-26 12:14:09 +00:00
|
|
|
# Patched ONLYOFFICE Docs (Community Edition)
|
|
|
|
|
2021-05-16 15:08:47 +00:00
|
|
|
[![Docker Image CI](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml/badge.svg)](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml)
|
|
|
|
|
2021-04-26 12:14:09 +00:00
|
|
|
## Features
|
|
|
|
|
|
|
|
This [Dockerfile](./Dockerfile) and [patch](license.patch) compile a version of
|
|
|
|
OnlyOffice Docs server with mobile editing enabled in the Nextcloud apps for an
|
|
|
|
unlimited amount of concurrent users.
|
|
|
|
|
|
|
|
It can be integrated into e.g. Nextcloud or ownCloud like the official images.
|
|
|
|
|
|
|
|
## Background
|
|
|
|
|
|
|
|
Just about two months after [Nextcloud released their partnership with Ascensio](https://nextcloud.com/blog/onlyoffice-and-nextcloud-partnering-up/)
|
|
|
|
and featured a community version of OnlyOffice, the latter decided to remove
|
|
|
|
support for mobile editing of documents. This affected the Nextcloud app,
|
|
|
|
killing a feature that was previously marketed by both companies.
|
|
|
|
|
|
|
|
The changes were executed without any prior notice and alienated quite a lot of
|
|
|
|
home users, who would now be forced to pay more than €1.000 to unlock that
|
|
|
|
previously free feature. Only after some outcries Ascensio deigned to release a
|
|
|
|
statement and a new, albeit "limited", offer of €90 for home servers. This
|
|
|
|
offer has since expired and their licensing tier suggests current licenses are
|
|
|
|
valid for one year, starting at about €140.
|
|
|
|
|
|
|
|
In my opinion these deceptive practices of advertising a feature only to take
|
|
|
|
it away are unacceptable for a company presenting itself and their products as
|
|
|
|
open source.
|
2020-03-30 15:44:55 +00:00
|
|
|
|
2020-08-29 16:00:32 +00:00
|
|
|
|
2020-03-30 15:44:55 +00:00
|
|
|
## Usage
|
|
|
|
|
2021-04-26 12:14:09 +00:00
|
|
|
Please refer the the official docs on how to integrate OnlyOffice into your
|
|
|
|
setup.
|
|
|
|
|
2020-09-26 20:21:25 +00:00
|
|
|
### Podman CLI
|
|
|
|
|
|
|
|
```sh
|
|
|
|
podman run \
|
|
|
|
--name=onlyoffice \
|
|
|
|
--detach \
|
|
|
|
--publish=80:80 \
|
|
|
|
docker.io/alehoho/oo-ce-docker-license
|
|
|
|
```
|
|
|
|
|
|
|
|
### Docker CLI
|
2020-04-19 09:10:27 +00:00
|
|
|
|
2020-08-29 16:00:32 +00:00
|
|
|
```sh
|
|
|
|
docker run \
|
|
|
|
--name=onlyoffice \
|
|
|
|
--detach \
|
2020-09-15 18:42:54 +00:00
|
|
|
--publish=80:80 \
|
2020-08-29 16:00:32 +00:00
|
|
|
alehoho/oo-ce-docker-license
|
|
|
|
```
|
|
|
|
|
|
|
|
### docker-compose.yml
|
|
|
|
|
|
|
|
```yml
|
|
|
|
services:
|
|
|
|
onlyoffice:
|
|
|
|
container_name: onlyoffice
|
|
|
|
image: alehoho/oo-ce-docker-license
|
|
|
|
ports:
|
|
|
|
- "80"
|
|
|
|
```
|
|
|
|
|
2021-04-26 12:14:09 +00:00
|
|
|
### Verify
|
|
|
|
|
|
|
|
To verify that the container is running successfully open
|
|
|
|
`[server-url]/healthcheck` (has to return `true`) and for the version number open
|
|
|
|
`[server-url]/web-apps/apps/api/documents/api.js` and check the header comment.
|
|
|
|
|
2020-08-29 16:00:32 +00:00
|
|
|
|
|
|
|
## Build
|
|
|
|
|
2020-09-26 20:21:25 +00:00
|
|
|
### Buildah CLI
|
2020-08-29 16:00:32 +00:00
|
|
|
|
2020-03-30 15:44:55 +00:00
|
|
|
```sh
|
2020-09-26 20:21:25 +00:00
|
|
|
buildah build-using-dockerfile \
|
2020-03-30 15:44:55 +00:00
|
|
|
--tag=onlyoffice-patched \
|
|
|
|
https://github.com/aleho/onlyoffice-ce-docker-license.git
|
|
|
|
```
|
|
|
|
|
2020-09-26 20:21:25 +00:00
|
|
|
### Docker CLI
|
|
|
|
|
2020-03-30 15:44:55 +00:00
|
|
|
```sh
|
2020-09-26 20:21:25 +00:00
|
|
|
docker build \
|
|
|
|
--tag=onlyoffice-patched \
|
|
|
|
https://github.com/aleho/onlyoffice-ce-docker-license.git
|
2020-03-30 15:44:55 +00:00
|
|
|
```
|
|
|
|
|
2020-09-26 20:21:25 +00:00
|
|
|
|
2020-04-19 09:10:27 +00:00
|
|
|
### docker-compose.yml
|
|
|
|
|
|
|
|
```yml
|
|
|
|
services:
|
|
|
|
onlyoffice:
|
|
|
|
container_name: onlyoffice
|
|
|
|
image: onlyoffice-patched
|
|
|
|
build:
|
|
|
|
context: https://github.com/aleho/onlyoffice-ce-docker-license.git
|
2020-08-29 16:00:32 +00:00
|
|
|
…
|
2020-04-19 09:10:27 +00:00
|
|
|
```
|
|
|
|
|
2020-03-30 15:44:55 +00:00
|
|
|
|
|
|
|
## Thanks
|
|
|
|
|
2020-04-17 21:03:53 +00:00
|
|
|
This repo was heavily inspired by the works of
|
2020-03-30 15:44:55 +00:00
|
|
|
[Zegorax/OnlyOffice-Unlimited](https://github.com/Zegorax/OnlyOffice-Unlimited).
|