Skip to main content

docker-compose

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