The ElixirOffice document server lets everyone on your Nextcloud open and edit Word, Excel and PowerPoint files together in the browser. It runs on your own server, in one Docker container, and connects through the standard ONLYOFFICE app for Nextcloud.
Create a secret key, then start the container with it. Keep the key: Nextcloud needs the same one.
openssl rand -hex 24
docker run -d --name elixiroffice --restart unless-stopped \
-p 8080:80 \
-e JWT_ENABLED=true \
-e JWT_SECRET=your-secret-key \
-e JWT_HEADER=Authorization \
-v elixiroffice-data:/var/www/onlyoffice/Data \
ghcr.io/leag1234/elixiroffice-server:v0.9.2
The first start takes a few minutes. The server is ready when this command answers true:
curl http://localhost:8080/healthcheck
Serve the container through your web server on its own address. With nginx, this location block forwards the editor's live connection:
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 100m;
}
In Nextcloud, install the ONLYOFFICE app (Apps, Office & text). Then open Administration settings, ONLYOFFICE, fill in these two fields and save. Nextcloud checks the connection right away.
https://office.example.org/In Files, click any .docx, .xlsx or .pptx file. It opens in ElixirOffice, and several people can edit it at the same time.
Pull the new version tag, remove the container and start it again with the same command, the same volume and the same secret key. Your documents stay in Nextcloud.
Registry digest of this version:
sha256:6988de7df811409ae31c1c6e7c56e29e84affefd916b2ca96b2ddfd3413f0831