Host a private File Browser cloud with Docker
File Browser provides a web interface for browsing, uploading and downloading files from a directory on your server.
This guide runs the original image on x86-64 Debian 13, with files and accounts that persist on the host drive.
The original project is archived and no longer receives fixes. Keep this installation private and use an SSH tunnel over a trusted network or VPN.
Prepare the server and directories
On Debian 13, install Docker and the Compose plugin. For remote access, first confirm that you can reach the server via SSH.
- The data directory holds only the files you want to serve. The database and config directories hold accounts and settings. The image uses UID and GID 1000.
- If you reuse a drive or NAS directory, mount it on the host and select a dedicated subdirectory. Check the mount and access permissions before starting Docker.
Terminalmkdir -p ~/filebrowser && cd ~/filebrowser sudo install -d -m 0750 -o 1000 -g 1000 data database configCreate the Compose file
Save this block to ~/filebrowser/compose.yaml. Port 8085 listens only on the server’s loopback address. Keep that port closed on your router.
compose.yamlservices: filebrowser: image: filebrowser/filebrowser:v2.63.23-amd64 restart: unless-stopped ports: - "127.0.0.1:8085:80" volumes: - ./data:/srv - ./database:/database - ./config:/configStart and retrieve the initial password
In ~/filebrowser, validate the Compose file and start the service. At first boot with an empty database, the log displays the generated admin password once. Keep the log private.
Terminalsudo docker compose config --quiet && sudo docker compose up -d sudo docker compose ps sudo docker compose logs --tail=80 filebrowserOpen http://127.0.0.1:8085 on the server or use the tunnel in the next step. Sign in as admin and change the password. Preserve the database if it already contains configured accounts.
Access files from another computer
On your computer, open the tunnel with your SSH user and the server’s private or VPN address. Leave the terminal open, then browse to http://127.0.0.1:8085.
Terminalssh -N -L 127.0.0.1:8085:127.0.0.1:8085 utilisateur@IP_DU_SERVEURIf local port 8085 is busy, change only the first 8085 in the tunnel, for example to 8086, then open http://127.0.0.1:8086.
Create a file user and check access
From the admin interface, create a test folder, then add a non-admin account under Settings → User Management. Set that folder as its scope and grant only the permissions it needs.
- Only give accounts to trusted people. Leave command execution and public sharing disabled. Mount only the directories File Browser needs.
- In a private browser window, sign in with the test account. Check upload and download, and verify that other folders are outside its scope.
Back up files, database and configuration
From ~/filebrowser, stop the service while archiving the three directories and the Compose file. Start it again afterward. Copy the archive to separate storage and keep it private.
Terminal( umask 077 sudo docker compose stop filebrowser || exit 1 trap 'sudo docker compose start filebrowser' EXIT sudo tar -czf - compose.yaml data database config > "../filebrowser-$(date +%Y%m%d-%H%M%S).tar.gz" )To test recovery, extract the archive with its original ownership into a test directory and change the host port, for example to 8086. Start the copy and check login and a few files before relying on the backup.