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
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/filebrowserenvironment: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:falsemodify:falseshare:falseapi:falseintegrations: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.