«Simple deployment by design, without operational fragility»
docker-filebrowser provides a clean, parameterized, and production-safe Docker Compose deployment for File Browser, designed for rapid provisioning without fragile defaults. It runs on whichever version you choose via FB_IMAGE_TAG (defaulting to v2.63.23).
- Configurable Pinned Image Version (Zero
:latest): Defaults toFB_IMAGE_TAG=v2.63.23, and you can set anyfilebrowser/filebrowsertag you want in.envwithout editingdocker-compose.yml, preventing unexpected breaking changes on container recreation. - No Environment Variable Collisions: Compose does not pass
.envblindly viaenv_file. Host port mapping (FB_PORT) is isolated from File Browser's internal port (80), preventing port mismatch lockouts. - Directory-Mounted Database (
./database:/database): Mounts a host directory instead of a single.dbfile so Docker never creates an empty directory namedfilebrowser.db/on first boot. - Safe Bind Default (
127.0.0.1): Publishes to loopback (FB_BIND_IP=127.0.0.1) by default so the service is not exposed publicly unless explicitly configured or fronted by a reverse proxy. - Built-In Healthcheck & Log Rotation: Uses the image's native
/healthcheck.shandjson-filelog rotation (10m×3files) withrestart: unless-stopped.
# 1. Create environment file from template
cp .env.example .env
# 2. Create host directories with matching ownership
mkdir -p files database
# 3. Start the service (defaults to 127.0.0.1:8080 when FB_PORT is empty)
docker compose up -d
# 4. Verify container health
docker compose psWarning
Security & Upstream Support Notice (FB_NOAUTH, FB_BIND_IP & End-of-Life):
- Upstream Status: Official
filebrowser/filebrowser(v2.63.23) was archived on 2026-09-01 and no longer receives maintenance or security patches. - Recommended Usage: Use this deployment strictly on internal/private networks, behind a VPN/tunnel, or fronted by an authenticated reverse proxy with
FB_BIND_IP=127.0.0.1. Never expose it directly to the public internet (0.0.0.0), and never combineFB_NOAUTH=truewithFB_BIND_IP=0.0.0.0. - Disclaimer of Liability: Provided "AS IS" under Apache-2.0. Isora Cloud Group and the project maintainers assume no responsibility or liability for security vulnerabilities, incidents, or damages arising from the use of upstream File Browser.
All configuration is centralized in .env.example with safe defaults:
| Variable | Default (.env.example) |
Description |
|---|---|---|
FB_IMAGE_TAG |
v2.63.23 |
filebrowser/filebrowser Docker image tag (defaults to v2.63.23; set any version you want) |
CONTAINER_NAME |
filebrowser |
Docker container name |
RESTART_POLICY |
unless-stopped |
Container restart policy |
TZ |
UTC |
Container timezone for logs and file timestamps |
FB_BIND_IP |
127.0.0.1 |
Host interface to bind (127.0.0.1 for reverse proxy, 0.0.0.0 for LAN/direct) |
FB_PORT |
(empty → 8080) |
Host port mapped to container port 80 |
FB_FILES_DIR |
./files |
Host directory mounted to /srv |
FB_DB_DIR |
./database |
Host directory mounted to /database (stores filebrowser.db) |
PUID / PGID |
1000 / 1000 |
Host UID/GID used to run the container process |
FB_BASE_URL |
(empty) | Optional subpath prefix behind a reverse proxy (e.g. /files, mapped to FB_BASEURL) |
FB_NOAUTH |
false |
Disables authentication when set to true |
LOG_MAX_SIZE |
10m |
Maximum size per Docker JSON log file |
LOG_MAX_FILE |
3 |
Maximum rotated log files retained |
flowchart LR
User["Client Browser"] --> Proxy["Reverse Proxy (Nginx / Caddy / Traefik)"]
Proxy -->|"http://127.0.0.1:${FB_PORT:-8080}${FB_BASE_URL}"| FB["filebrowser (:80)"]
FB --> Files[("${FB_FILES_DIR} -> /srv")]
FB --> DB[("${FB_DB_DIR} -> /database/filebrowser.db")]
- Architect & Designer: Sandra Gabriela Puerto Torres (SGPT) — https://sandrapuerto.com
- Umbrella Organization: Isora Cloud Group — https://isora.com.co
- Implementation: Google Antigravity AI
- License: Apache License 2.0