FileRise

FileRise

Docker 应用程序 from error311's Repository

概述

FileRise is a lightweight, secure web file manager with uploads, tagging, share links, gallery/table views, and an in-browser editor.

If you change HTTP_PORT / HTTPS_PORT, also edit the corresponding Container Port (Target) in the Port mappings to the same numbers.
Otherwise the container will listen on a different internal port and the WebUI won’t be reachable.

Bridge mode (default): leave defaults (host 8080 → container 80). Access at http://SERVER_IP:8080/.
Custom br0 (own IP): change host ports to 80/443 so you can use http://CONTAINER_IP/ (and https://CONTAINER_IP/ if you actually terminate TLS in-container).

Directions:

  • UPLOADS PATH: folder where uploaded files are stored. Recommended: use a dedicated folder (e.g. /mnt/user/appdata/FileRise/uploads/), not the root of a huge media share.
  • USERS_DIR: persistent location for users.txt.
  • META_DIR: persistent location for metadata JSON files.
  • SESSIONS_DIR: persistent storage for PHP session files.

Environment Variables:

  • TIMEZONE: e.g. America/New_York.
  • DATE_TIME_FORMAT: display format for “Uploaded” and “Modified” (e.g. m/d/y h:iA).
  • TOTAL_UPLOAD_SIZE: Apache/PHP upload limit (e.g. 5G).
  • HTTP_PORT / HTTPS_PORT: internal Apache ports. Default 80/443. (If you change these, set the Unraid Container Port fields to the same numbers.)
  • SHARE_URL: optional, set site root or full endpoint; leave empty to auto-detect.
  • PERSISTENT_TOKENS_KEY: You can leave blank for pristine installs, or set it if you want to manage the key yourself
  • PUID / PGID: map www-data to host UID/GID (Unraid: nobody=99, users=100).
  • SCAN_ON_START: true/false. If true, run a one-shot scan of /var/www/uploads at container start to build the metadata index. Good for first run on an existing folder tree.
  • CHOWN_ON_START: true/false. If true, recursively chown /var/www/uploads and /var/www/metadata to www-data on startup. Recommended true on first run, then set to false once permissions are correct.
  • SECURE: true/false; if true, set secure cookies (use with HTTPS).

Ports:

  • Map a host port to Container Port 80 for HTTP (e.g. Host 8080 → Container 80).
  • (Optional) Map a host port to Container Port 443 for HTTPS (e.g. Host 8443 → Container 443).
  • WebUI can be set to http://[IP]:[PORT:80]/ or https://[IP]:[PORT:443]/ accordingly.

More info:
https://github.com/error311/filerise
https://github.com/error311/filerise-docker

运行时参数

网络用户界面
http://[IP]:[PORT:80]/
网络
bridge
外壳
bash
特权
false

模板配置

UPLOADS PATHPathrw

Folder where FileRise stores uploaded files (use a dedicated folder, not the root of a large media share).

目标
/var/www/uploads
默认值
/mnt/user/appdata/FileRise/uploads/
价值
/mnt/user/appdata/FileRise/uploads/
USERS_DIRPathrw

Path for persistent users file

目标
/var/www/users
默认值
/mnt/user/appdata/FileRise/
价值
/mnt/user/appdata/FileRise/
META_DIRPathrw

Path for persistent metadata JSON files (tags, search index, share links, etc.)

目标
/var/www/metadata
默认值
/mnt/user/appdata/FileRise/
价值
/mnt/user/appdata/FileRise/
SESSIONS_DIRPathrw

Path for persistent PHP session data

目标
/var/www/sessions
默认值
/mnt/user/appdata/FileRise/sessions/
价值
/mnt/user/appdata/FileRise/sessions/
TIMEZONEVariable

PHP/container timezone, e.g. America/New_York

价值
America/New_York
DATE_TIME_FORMATVariable

Display format for dates (Uploaded/Modified). Defaults to m/d/y h:iA if not set.

价值
m/d/y h:iA
TOTAL_UPLOAD_SIZEVariable

Max total upload size per request (e.g. 5G, 10G). Sets PHP and Apache limits.

价值
5G
HTTP_PORTVariable

Advanced: internal Apache HTTP listen port (default 80). Leave blank. Only change if you also change the container port target mapping.

HTTPS_PORTVariable

Advanced: internal Apache HTTPS listen port (default 443). Leave blank. Only change if you also change the container port target mapping.

PERSISTENT_TOKENS_KEYVariable

Encrypts stored secrets (tokens, permissions, admin config). Pristine Docker installs auto-generate one. Keep empty to auto generate.

PUIDVariable

Numeric UID to map www-data (Unraid: nobody=99)

默认值
99
价值
99
PGIDVariable

Numeric GID to map www-data (Unraid: users=100)

默认值
100
价值
100
SCAN_ON_STARTVariable

true/false. If true, run a one-shot scan of /var/www/uploads on container start to build metadata (good for first run on existing files).

价值
true
CHOWN_ON_STARTVariable

true/false. If true, recursively chown uploads/ and metadata/ to www-data at startup. Recommended true on first run, then false once perms are correct.

默认值
true
价值
true
SHARE_URLVariable

Optional. Set to site root or full endpoint; leave empty to auto-detect.

SECUREVariable

true/false. If true, set secure cookies (use when served over HTTPS).

默认值
false
价值
false
HTTP PortPorttcp

Host→Container mapping for HTTP

目标
80
默认值
8080
价值
8080
HTTPS PortPorttcp

Host→Container mapping for HTTPS

目标
443
默认值
8443
价值
8443
LOG_STREAMVariable

Which logs to stream to console: error|access|both|none

默认值
error
价值
error

下载统计数据

82,012
下载总数
15,369
本月
9,496
平均每月

长期下载总量

加载图表...

详细信息

存储库
error311/filerise-docker:latest
最后更新2026-04-17
初见2025-03-26

在Unraid 上运行 FileRise 。

FileRise 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。