docs
docs copied to clipboard
docker docs are incorrect for alpine because they mount the database at the wrong place
compare https://github.com/filebrowser/docs/blob/master/installation.md?plain=1#L65 with a few lines above.
wrong (alpine):
-v /path/filebrowser.db:/database.db \
correct (linuxserver):
-v /path/to/filebrowser.db:/database/filebrowser.db \
it's wrong, because it maps the db file to a file in the root, and when FileBrowser runs it makes a new file at /database/filebrowser.db
everything seems fine until you tear down the container and restart a new one, and all the configs are erased :-(
PR created: https://github.com/filebrowser/docs/pull/55