Self-hosting LibreOffice the easy way

Self-hosting LibreOffice the easy way

Yulei Chen - Content-Engineerin bei sliplane.ioYulei Chen
5 min

LibreOffice is the most popular free and open-source office suite. It handles documents, spreadsheets, presentations, and more - basically everything Google Docs or Microsoft Office can do, but without subscriptions, data collection, or vendor lock-in. Self-hosting it gives you a browser-based office suite that runs on your own infrastructure.

Sliplane makes it dead simple to get LibreOffice running in the cloud. With one-click deployment, you can have a fully functional office suite accessible from any browser in minutes - no server setup, no reverse proxy config, no infrastructure headaches.

Prerequisites

Before deploying, ensure you have a Sliplane account (free trial available).

Quick start

Sliplane provides one-click deployment with presets.

SliplaneDeploy LibreOffice >
  1. Click the deploy button above
  2. Select a project
  3. Select a server (If you just signed up you get a 48-hour free trial server)
  4. Click Deploy!

About the preset

The one-click deploy above uses Sliplane's LibreOffice preset. Here's what's included:

  • LinuxServer.io image (lscr.io/linuxserver/libreoffice) - a well-maintained, regularly updated container image
  • Specific version tag (25.8.1) pinned for stability
  • Persistent storage mounted to /config so your files and settings survive restarts
  • KasmVNC-based web interface accessible directly in your browser on port 3000
  • Timezone set to Europe/Berlin by default (configurable)

The LinuxServer image packages LibreOffice with a full desktop environment inside the container, streamed to your browser via KasmVNC. You get Writer, Calc, Impress, Draw, and all the other LibreOffice apps right in your browser tab.

Next steps

Once LibreOffice is running on Sliplane, open the domain Sliplane assigned (e.g. libreoffice-xxxx.sliplane.app) in your browser. You'll see the LibreOffice desktop environment ready to use - no login required.

Working with files

Your files are stored in the /config volume. This means anything you save inside the container's /config directory persists across restarts and redeployments. By default, you can save documents to the home directory, which maps to /config.

Environment variables

You can customize the deployment by adding environment variables in the Sliplane dashboard:

VariableDescriptionDefault
TZTimezone for the containerEurope/Berlin
DOCKER_MODSInstall additional packages via LinuxServer mods-

Logging

Container logs go to STDOUT by default, which works with Sliplane's built-in log viewer. If you need to troubleshoot, check the logs in the Sliplane dashboard. For general Docker log tips, see our guide on how to use Docker logs.

Troubleshooting

If the web interface doesn't load, give the container a minute to start up. The KasmVNC desktop environment takes a moment to initialize on first boot. If the page remains blank after 2 minutes, check the logs in the Sliplane dashboard for errors.

Cost comparison

You can also self-host LibreOffice with other cloud providers. Here is a pricing comparison for the most common ones:

ProvidervCPURAMDiskMonthly CostNote
Sliplane22 GB40 GB€9 (~$10.65)Flat rate, 1 TB bandwidth, SSL included
Fly.io22 GB40 GB~$18Disk and bandwidth billed separately
Render12 GB40 GB~$35100 GB bandwidth, Disk billed separately
Railway22 GB40 GB~$67 + $20 planPro plan floor, usage-based, bandwidth billed separately
Click here to see how these numbers were calculated.

(Assuming an always-on instance running 730 hrs/month)

  • Sliplane: flat €9/month for the Base server. Unlimited services on the same server, 1 TB egress and SSL included.
  • Fly.io: shared-cpu-2x 2 GB = $11.83/mo + 40 GB volume × $0.15/GB = $6 -> ~$17.83/mo. Egress billed separately ($0.02/GB in EU).
  • Render: closest match is Standard ($25, 1 vCPU / 2 GB) plus 40 GB disk × $0.25/GB = $10 -> ~$35/mo. Stepping up to Pro (2 vCPU / 4 GB) costs $85/mo + disk.
  • Railway (Pro plan): CPU 2 × $0.00000772/s × 2,628,000 s = $40.57; RAM 2 × $0.00000386/s × 2,628,000 s = $20.29; volume 40 × $0.00000006/s × 2,628,000 s = $6.31 -> ~$67/mo compute, plus the $20/mo Pro plan floor and $0.05/GB egress.

Bandwidth costs can add up fast on usage-based providers. Use our bandwidth cost comparison tool to see what your egress would cost on each platform.

FAQ

What can I do with a self-hosted LibreOffice?

You get the full LibreOffice suite in your browser: Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (diagrams), and Base (databases). It's perfect for editing documents on the go from any device, collaborating without relying on Google or Microsoft, or running an office suite on a locked-down machine that only has a browser.

Can I change the screen resolution or interface language?

Yes. The KasmVNC interface lets you adjust the resolution directly from the browser sidebar. For the interface language, you can install additional language packs inside the container via the terminal or by using the DOCKER_MODS environment variable to add packages at startup.

How do I update LibreOffice?

Go to the service settings in the Sliplane dashboard, change the image tag to a newer version, and redeploy. Check Docker Hub for the latest stable version. Your files in the /config volume are preserved across updates.

Are there alternatives to LibreOffice?

For browser-based document editing, popular alternatives include ONLYOFFICE (modern interface, good MS Office compatibility), Collabora Online (LibreOffice-based with real-time collaboration), and CryptPad (privacy-focused with end-to-end encryption). You might also like our posts on self-hosting Excalidraw for whiteboarding or self-hosting BentoPDF for PDF handling.

Is LibreOffice suitable for team use?

The LinuxServer container is designed for single-user access. If you need multiple people to use LibreOffice at the same time, each user should get their own instance. On Sliplane, you can run multiple services on the same server at no extra cost, so spinning up additional LibreOffice instances is straightforward.

Self-host LibreOffice now - It's easy!

Sliplane gives you a full office suite in the cloud without the complexity.