hurlenko/filebrowser-docker
Fork: 19 Star: 179 (更新于 1970-01-01 00:00:00)
license: 暂无
Language: Shell .
🐳 filebrowser inside Docker container
最后发布版本: v2.26.0 ( 2023-11-05 00:26:06)
filebrowser inside a docker container
Introduction
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
Table of Contents
Screenshots
Desktop
Mobile device
Features
- Confgurable via environment variables
- Can be run using different user
- Supports multiple architectures, tested on Ubuntu 18.04 (
amd64
), Rock64 🍍 (arm64
) and Raspberry Pi 🍓 (arm32
)
Usage
Docker
docker run -d --name filebrowser -p 80:8080 hurlenko/filebrowser
To run as current user and to map custom volume locations use:
docker run -d \
--name filebrowser \
--user $(id -u):$(id -g) \
-p 8080:8080 \
-v /DATA_DIR:/data \
-v /CONFIG_DIR:/config \
-e FB_BASEURL=/filebrowser \
hurlenko/filebrowser
docker-compose
Minimal docker-compose.yml
may look like this:
version: "3"
services:
filebrowser:
image: hurlenko/filebrowser
user: "${UID}:${GID}"
ports:
- 443:8080
volumes:
- /DATA_DIR:/data
- /CONFIG_DIR:/config
environment:
- FB_BASEURL=/filebrowser
restart: always
Simply run:
docker-compose up
Running behind Nginx proxy
You can use this nginx config:
location /filebrowser {
# prevents 502 bad gateway error
proxy_buffers 8 32k;
proxy_buffer_size 64k;
client_max_body_size 75M;
# redirect all HTTP traffic to localhost:8088;
proxy_pass http://localhost:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-NginX-Proxy true;
# enables WS support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 999999999;
}
Ports description
-
8080
- default filebrowser port
Supported environment variables
The environment variables are prefixed by FB_
followed by the option name in caps. So to set "database" via an env variable, you should set FB_DATABASE. The list of avalable options can be found here.
Supported volumes
-
/data
- Data directory to browse -
/config
-filebrowser.db
location
Attaching multiple directories
If you want to attach multiple directories you need to mount them as subdirectories of the data directory inside of the container (/data
by default):
docker run \
-v /path/to/music:/data/music \
-v /path/to/movies:/data/movies \
-v /path/to/photos:/data/photos \
hurlenko/filebrowser
Building
git clone https://github.com/hurlenko/filebrowser-docker
cd filebrowser-docker
docker build -t hurlenko/filebrowser .
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2023-11-05 00:26:06 v2.26.0
2022-11-06 08:34:33 v2.23.0
2022-07-22 18:29:15 v2.22.4
2022-07-06 08:37:00 v2.22.3
2022-07-02 08:33:44 v2.22.2
2022-06-07 08:24:00 v2.22.1
2022-06-04 08:31:07 v2.22.0
2022-02-23 08:25:32 v2.21.1
2022-02-22 08:22:11 v2.21.0
2021-12-22 08:19:34 v2.20.1
主题(topics):
amd64, arm64, armhf, docker, filebrowser, filebrowser-docker, raspberrypi
hurlenko/filebrowser-docker同语言 Shell最近更新仓库
2024-12-22 00:23:35 j-hc/revanced-magisk-module
2024-12-19 20:39:10 chenzyadb/CuprumTurbo-Scheduler
2024-12-17 15:17:35 morytyann/OpenWrt-mihomo
2024-12-11 20:57:35 RROrg/rr
2024-12-09 01:05:08 rustdesk/rustdesk-server-pro
2024-12-03 19:14:14 dockur/windows