onlyoffice-ce-docker-license/README.md

127 lines
3.5 KiB
Markdown
Raw Normal View History

2021-04-26 12:14:09 +00:00
# Patched ONLYOFFICE Docs (Community Edition)
[![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)
## Notes
Please don't ask for setup support. I cannot support all your different setups. Sorry.
Please also don't ask OnlyOffice devs for support if something is broken with this image.
**There will be bugs.**
**Some functionaly will absolutely be broken.**
**Don't expect this repository to provide every feature the paid version provides.**
**Some mobile editing features are reverted by the patches to very old code (before they were removed).**
**This code can not only break but also will not receive security updates.**
2021-04-26 12:14:09 +00:00
## Features
This [Dockerfile](./Dockerfile) and patches compile a version of
2021-04-26 12:14:09 +00:00
OnlyOffice Docs server with mobile editing enabled in the Nextcloud apps for an
unlimited amount of concurrent users.
2022-05-10 11:02:51 +00:00
The patches provided in this repository only restores basic editing on mobile.
2021-04-26 12:14:09 +00:00
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:
2021-05-16 15:08:54 +00:00
- "80:80"
2020-08-29 16:00:32 +00:00
```
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
2021-05-21 09:15:05 +00:00
`[server-url]/index.html` and check the output of that page or
2021-04-26 12:14:09 +00:00
`[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).