Skip to main content
Version: v2

Download count

Download count tracks the number of times a file has been downloaded/visited/opened. It will be saved in a persistent redis database (-v redissave:/var/lib/redis/). Folders will not be tracked.

Files are tracked based on their (full) file path. Therefore renaming a file will change/reset the download count.

info

This feature is enabled by default.

To disable it, set the environment variable NO_DL_COUNT when starting the container. This will also disable Redis completely (and save some processing power).

docker run -d -p 8080:80 -v /my/local/folder:/var/www/html/public:ro -e NO_DL_COUNT=1 -v redissave:/var/lib/redis/ -it adrianschubek/dir-browser