compose.yml
⎇
Raw
1services:
2 filebrowser:
3 build: .
4 image: filebrowser-ng:latest
5 ports:
6 - "8080:8080"
7 environment:
8 RUST_LOG: info # server log level: trace/debug/info/warn/error
9 # FILEBROWSER_HTTPS: "true" # behind a TLS-terminating proxy: marks the session cookie Secure
10 # FILEBROWSER_PUBLIC_URL: https://files.example.com # base of share links (default: the address the browser uses)
11 # FILEBROWSER_ROOT_NAME: Media # UI name of the root folder (default: its folder name, here "data")
12 # FILEBROWSER_CACHE: /var/cache/filebrowser # turns grid thumbnails on; ffmpeg is in the image
13 volumes:
14 - ./data:/data # browsed files (server --root)
15 - ./filebrowser-db:/var/lib/filebrowser # sqlite db: users, shares, settings
16 # - ./filebrowser-cache:/var/cache/filebrowser # optional: keeps thumbnails across restarts
17