Public Repository

Last pushed: a month ago
Short Description
LibreOffice Online
Full Description

This is LibreOffice Online, which provides basic collaborative editing of documents in a browser by re-using the LibreOffice core. Rendering fidelity should be excellent, and interoperability match that of LibreOffice.

The configuration file of LibreOffice Online WebSocket Daemon (loolwsd) is at /etc/loolwsd/loolwsd.xml. You can copy it out from the container, tweak it, copy back and commit, as you like.

You can also pass the following environment variables to container:

DONT_GEN_SSL_CERT 1
By default, when the container is started, it generates a new self-signed SSL certificate, SSL CA certificate, and secret key. If you want to use your own SSL certificate, SSL CA certificate, and secret key, you can disable this.

domain
Domain name of your WOPI host.

username
User name for the Admin Console.

password
Password for the Admin Console.

Docker Pull Command
Owner
libreoffice

Comments (17)
creased
3 months ago

Sorry for this mistake, I've mistyped the URL to access the repository... It's http://git.bmoine.fr/docker-libreoffice-online.

Please feel free to use and contribute to this repo and don't hesitate to contact me if you need more information ("Baptiste MOINE" contact@bmoine.fr PGP: 0x860B5424).

creased
3 months ago

I've created a Docker-Compose wrapper for this project to make it easier to deploy (see http://git.bmoine.fr/libreoffice-online-docker.git).

curl --silent --include --insecure --http1.1 --location --url https://localhost:9980/

Returns:

HTTP/1.1 200 OK
Date: Tue, 21 Feb 2017 11:09:57 GMT
Connection: Keep-Alive
Content-Length: 2
Content-Type: text/plain

OK

Currently, when I access https://localhost:9980/loleaflet/dist/loleaflet.html, I get the following message:

Wrong WOPISrc, usage: WOPISrc=valid encoded URI, or file_path, usage: file_path=/path/to/doc/
mpixel
3 months ago

I'm unable to get this to run due to a "failed to fork child process" error. I wasn't able to hunt down any more specific information on why it failed.

Where is the best place to get support for this? How should bugs be reported?

timhowes
3 months ago

The Collabora page provides some guidance on setting up file sync and reverse proxy. https://www.collaboraoffice.com/code/

rcsilva83
4 months ago

Hi there!

Could anyone run it successfully? I ran the documented command ([1]) but nothing is returned by the container ([2]).

Running "docker inspect" I see that there's no startup command (CMD is "/bin/bash" and ENTRYPOINT is null). So, makes sense it isn't running at all.

I have two questions:
1) What is the startup command?
2) Where is the Dockerfile so we can contribute to it?

Regards!

[1] "docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=<your-dot-escaped-domain>" --cap-add MKNOD libreoffice/online:master
[2] https://localhost:9980/loleaflet/dist/loleaflet.html

medevit
4 months ago

talaios
4 months ago

I see the same OK here.

medevit
4 months ago

I tried starting it, but the only process startet is bash. Attaching to the console i required to set chmod +x run-lool.sh and then starting it via ./run-lool.sh

Now it seems to do something but If I access the given port 9980 my browser only outputs "OK".

phoenamandre
4 months ago

It doesn't seem to work with i386 (32bits) architecture. I'm trying to have it enabled for my nextcloud server but it keeps restarting. Any ideas ?

stuartiannaylor
4 months ago

LibreOffice Online have the limitation of 10 Docs openned and 20 Connections max doesn't sound very Libre!