Skip to main content

Filebrowser

version: '3.3'
services:
  filebrowser:
    container_name: filebrowser
    image: filebrowser/filebrowser:latest
    volumes:
      - /srv:/srv  # Arborescence qui sera visible de l'utilisateur par défaut
#      - ./conf/filebrowser.json:/filebrowser.json  # Fichier de configuration pour personnaliser certaines options
    ports:
      - 8084:80  # Port pour accéder à l'interface web de File Browser
    restart: unless-stopped

 

Default credentials:
admin
admin

 By default, we already have a configuration file with some defaults so you can just mount the root and the database. Although you can overwrite by mounting a directory with a new config file. If you don't already have a database file, make sure to create a new empty file under the path you specified. Otherwise, Docker will create an empty folder instead of an empty file, resulting in an error when mounting the database into the container.

---
version: '3'
services:
  file-browser:
    image: filebrowser/filebrowser
    container_name: file-browser
    user: 1000:1000
    ports:
      - 8081:80
    volumes:
      - /home/serveradmin/:/srv
      - /home/serveradmin/filebrowser/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true