Skip to content

Filebrowser

Description⚓︎

Filebrowser is Web based file manager with basic auth, command runner, built-in file editor, file sharing with time-based expiry and much more

Note

This service is deployed on multiple machines

Docker⚓︎

Basic info⚓︎

Basic info with official links

docker compose.yml⚓︎

YAML
---
version: '3'
services:
  fbacer:
    image: filebrowser/filebrowser:latest
    container_name: fbacer
    user: ${PUID}:${PGID}
    ports:
      - 420:80
    networks:
      - proxy # rename this to your custom docker network
    volumes:
      - ${DATA_DIR}:/srv
      - ${BAK_CFG_DIR}/filebrowser/fbacer/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    command: --noauth #disables auth, don't use this if not using third party auth like authelia

networks:
  proxy:    # rename this to your custom docker network.
    external: true
YAML
---
version: '3'
services:
  fbcloud:
    image: filebrowser/filebrowser:latest
    container_name: fbcloud
    user: ${PUID}:${PGID}
    ports:
      - 420:80
    networks:
      - proxy # rename this to your custom docker network
    labels:
      traefik.enable: true
    volumes:
      - /:/srv
      - ${BAK_CFG_DIR}/filebrowser/fbcloud/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true

networks:
  proxy:    # rename this to your custom docker network.
    external: true
YAML
---
version: '3'
services:
  fbmain:
    image: filebrowser/filebrowser:latest
    container_name: fbmain
    user: ${PUID}:${PGID}
    ports:
      - 420:80
    networks:
      - proxy # rename this to your custom docker network
    volumes:
      - /storage:/srv
      - ${BAK_CFG_DIR}/filebrowser/fbmain/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    command: --noauth #disables auth, don't use this if not using third party auth like authelia

networks:
  proxy:    # rename this to your custom docker network.
    external: true
YAML
---
version: '3'
services:
  fbpi:
    image: filebrowser/filebrowser:latest
    container_name: fbpi
    user: ${PUID}:${PGID}
    ports:
      - 420:80
    networks:
      - proxy # rename this to your custom docker network
    labels:
      traefik.enable: true
    volumes:
      - /mnt/Pi_Storage/:/srv
      - ${BAK_CFG_DIR}/filebrowser/fbpi/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    command: --noauth #disables auth, don't use this if not using third party auth like authelia

networks:
  proxy:    # rename this to your custom docker network.
    external: true
YAML
---
version: '3'
services:
  fbshare:
    image: filebrowser/filebrowser:latest
    container_name: fbshare
    user: ${PUID}:${PGID}
    ports:
      - 4290:80
    networks:
      - proxy # rename this to your custom docker network
    volumes:
      - ${DATA_DIR}:/srv
      - ${BAK_CFG_DIR}/filebrowser/fbshare/filebrowser.db:/database.db
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true

networks:
  proxy:    # rename this to your custom docker network.
    external: true

deploy.sh⚓︎

Bash
1
2
3
mkdir -p "${BAK_CFG_DIR}"/filebrowser/fbacer
touch "${BAK_CFG_DIR}"/filebrowser/fbacer/filebrowser.db
docker compose up -d
Bash
1
2
3
mkdir -p "${BAK_CFG_DIR}"/filebrowser/fbcloud
touch "${BAK_CFG_DIR}"/filebrowser/fbcloud/filebrowser.db
docker compose up -d
Bash
1
2
3
mkdir -p "${BAK_CFG_DIR}"/filebrowser/fbmain
touch "${BAK_CFG_DIR}"/filebrowser/fbmain/filebrowser.db
docker compose up -d
Bash
1
2
3
mkdir -p "${BAK_CFG_DIR}"/filebrowser/fbpi
touch "${BAK_CFG_DIR}"/filebrowser/fbpi/filebrowser.db
docker compose up -d
Bash
1
2
3
mkdir -p "${BAK_CFG_DIR}"/filebrowser/fbshare
touch "${BAK_CFG_DIR}"/filebrowser/fbshare/filebrowser.db
docker compose up -d