services: filebrowser: environment: FILEBROWSER_CONFIG: "data/config.yaml" FILEBROWSER_ADMIN_PASSWORD: admin volumes: - 'C:\Docker\AppData\filebrowserquantum\folder:/folder' # Never mount root "/" directory to docker, always choose a sub-folder with your data. # Folders on Windows: - 'C:\Docker\Compose:/folder/windows/Docker Compose' - 'C:\Portables:/folder/windows/Portables' - 'C:\Docker\Appdata:/folder/windows/Docker Appdata' - 'C:\Program Files (x86)\Steam\steamapps\common:/folder/windows/Steam Games' - 'C:\Program Files (x86)\Steam\config:/folder/windows/Steam Config' # Rest: - 'C:\Docker\AppData\filebrowserquantum\data:/home/filebrowser/data' # mount the data folder you created with the config file. # Advanced: If you plan to run with a different user besides root or filebrowser, you will need to mount a tmp directory. # - './tmp/:/home/filebrowser/tmp/' ports: - "8081:80" # the left 80 is the port **you will use** to access. The right 80 is the container port that **must match the config.yaml** image: gtstef/filebrowser # Optionally run as non-root filebrowser user #user: filebrowser restart: unless-stopped