Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.15 KB

filebrowser.md

File metadata and controls

62 lines (47 loc) · 1.15 KB

Filebrowser

  • nice dark theme
  • it was difficult to setup (docs are not clear for a typical docker-compose setup)

Screenshot

Prerequisites

There are 2 files required (which are expected, but not created automatically). We need to create them first:

touch filebrowser.json
touch filebrowser.db

The db file can remain empty (will be used by the app), the config - we need to update with some defaults:

filebrowser.json

{
  "port": 80,
  "baseURL": "/",
  "address": "0.0.0.0",
  "log": "stdout",
  "database": "/filebrowser.db",
  "root": "/srv"
}

docker-compose.yml

---
services:
  filebrowser:
    image: filebrowser/filebrowser
    container_name: filebrowser
    restart: unless-stopped
    user: "1000:1000"
    environment:
      - TZ=Europe/Dublin
    ports:
      - "3000:80"
    volumes:
      - ./filebrowser.db:/filebrowser.db
      - ./filebrowser.json:/.filebrowser.json
      - ./files/:/srv/

App should now be available at: <server IP>:3000 Login using:

  • u: admin
  • p: admin