Filebrowser Web File Manager for OpenWrt NAS

NO.1NO.1
Introduction to Filebrowser

GitHub Address

https://github.com/filebrowser/filebrowser

A web-based file manager in the browser

Filebrowser Web File Manager for OpenWrt NAS

NO.2
Usage Scenarios

The previous article solved the optimization of editing code in the browser

OpenWrt Soft Router (NanoPi For NAS All In One R4S): VSCode in Browser with Code Server

Filebrowser Web File Manager for OpenWrt NAS

This article continues to solve the visual operation of folders and files in the browser

NO.3
Filebrowser Installation

Official Installation Address

https://filebrowser.org/installation

The official site does not provide a docker-compose.yml configuration example, so you need to convert it yourself

Filebrowser Web File Manager for OpenWrt NAS

Create a docker-compose.yml configuration file

/ is the directory you want to map, in this article, it maps all directories of OpenWrt

version: "2.1"
services:
  filebrowser:
    image: filebrowser/filebrowser
    container_name: filebrowser
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /:/srv
      - ./filebrowser.db:/database/filebrowser.db
      - ./settings.json:/config/settings.json
    ports:
      - 3003:80
    restart: unless-stopped

Pull the image and start

docker-compose up

Filebrowser Web File Manager for OpenWrt NAS

Open the port

Click on the menu, Network -> Firewall -> Communication Protocol

Add port 3003

Filebrowser Web File Manager for OpenWrt NAS

NO.4
Using Filebrowser

Access IP: Port to enter the page

http://192.168.100.1:3003/

Default Username: admin

Default Password: admin

Filebrowser Web File Manager for OpenWrt NAS

Enter the page

Filebrowser Web File Manager for OpenWrt NAS

Click Setting, select Language, choose Simplified Chinese from the dropdown, and click update

Filebrowser Web File Manager for OpenWrt NAS

Change to Chinese interface

Filebrowser Web File Manager for OpenWrt NAS

Final Effect

Filebrowser Web File Manager for OpenWrt NAS

Uploading Files

To upload files from your computer to OpenWrt, just drag and drop the files onto the browser page

Filebrowser Web File Manager for OpenWrt NAS

Create and View Files

For example, create docker-compose.yml

Filebrowser Web File Manager for OpenWrt NAS

NO.5
Tips

You can see the above content

Using filebrowser allows you to clearly see folders without needing to use commands like cd or ls; you can directly click into the corresponding folder with your mouse in the browser

You can view, create, and edit files

You can perform upload, download, and other operations

Reduce the use of command line

Use code-server to edit code, use filebrowser to manage files, and use portainer to easily view Docker

Visualize the OpenWrt environment

Note

This article is for R4S OpenWrt, ARM64 environment; the above code is also applicable to Raspberry Pi 4B Ubuntu Server 22.04 Docker

Recommended Reading

OpenWrt Soft Router (NanoPi For NAS All In One R4S): VSCode in Browser with Code Server

Leave a Comment