This guide shows how to integrate OnlyOffice and FileBrowser via Wiredoor. Wiredoor is a self-hosted ingress-as-a-service platform that lets you route internet traffic to internal apps, IoT, Kubernetes and more using a reverse VPN powered by WireGuard. Below steps are derived from this discussion.
warning
v2.0.0 behavior change
File permissions are per source. userDefaults.permissions.modify (and related keys) apply as defaults for new scopes, not as global modify access. Grant view and modify on the relevant scope in User Management if users cannot open or edit Office files after upgrade.
warning
This guide assumes you have some knowledge on using Wiredoor. Be sure to check Wiredoor docs to learn more about it.
networks:wiredoor:driver:bridgeipam:config:- subnet:172.18.100.0/24services:filebrowser:volumes:- './filebrowser/data:/srv'- './filebrowser/database:/home/filebrowser/database'- './filebrowser/config.yaml:/home/filebrowser/config.yaml'ports:- 80:80image:gtstef/filebrowser:stableenvironment:FILEBROWSER_ONLYOFFICE_SECRET:${ONLYOFFICE_SECRET:?ONLYOFFICE environment variable is required in your .env file}restart:unless-stoppednetworks:- wiredooronlyoffice:image:onlyoffice/documentserverenvironment:JWT_SECRET:${ONLYOFFICE_SECRET:?ONLYOFFICE environment variable is required in your .env file}ports:- 8080:80networks:- wiredoorwiredoor-gw:image:wiredoor/wiredoor-cli:latestcap_add:- NET_ADMINenvironment:WIREDOOR_URL:${WIREDOOR_URL:?WIREDOOR_URL environment variable is required in your .env file}TOKEN:${WIREDOOR_TOKEN:?WIREDOOR_TOKEN environment variable is required in your .env file}networks:- wiredoor
server:port:80baseURL:"/"logging:- levels:"info|warning|error"sources:- path:"/srv"internalUrl:"http://filebrowser"userDefaults:preview:image:truepopup:truevideo:falseoffice:falsehighQuality:falsedarkMode:truedisableSettings:falsesingleClick:falsepermissions:admin:falseapi:falseshare:falserealtime:false# v2.0.0+: default per-source permissions for new scopesmodify:truedownload:truecreate:truedelete:trueintegrations:office:url:"https://onlyoffice.example.com"# Domain used to expose onlyoffice
The FileBrowser editor should now successfully load the OnlyOffice iframe, and you should be able to open document files with full editing functionality.