Skip to main content

Installation

My installation is SSH to my minipc and using Docker Compose. I found that is the easiest way to run my Docker Containers and keep the necessary data persistence.

  1. First change directory to your Docker folder (I keep all containers in a Docker folder). Add a folder called filebrowser. Change directory to the filebrowser directory and then add a docker-compose file. To do this, the following four command lines should be entered into the command line separately:
  cd /docker
  sudo mkdir filebrowser
  cd /docker/filebrowser
  sudo nano docker-compose.yml
  1. Once the nano editor is open, add the docker compose lines below:

               **The appropriate TZ can be found with the command in this link -> command to find your time zone, TZ.

services:
  filebrowser:
    image: filebrowser/filebrowser
    container_name: filebrowser
    volumes:
      - /:/srv #Change to match your directory
      - ./filebrowser.db:/database.db #Change to match your directory
      - ./filebrowser.json:/filebrowser.json #Change to match your directory
    environment:
      - PUID=1000 #$(id -u)
      - PGID=1000 #$(id -g)
    ports:
      - 7080:80 #Change the port if needed
    restart: unless-stopped
  1. Press Ctrl-O and then enter to save the file. Ctrl-X to exit the Nano editor.
  2. Then start the container with the following command:
sudo docker compose up -d
  1. You can now enter filebrowser in your internet browser with:

        http://<local ip address>:7080

  1. The default username and password are both admin. These should be changed immediately after logging in.