docs icon indicating copy to clipboard operation
docs copied to clipboard

docker docs are incorrect for alpine because they mount the database at the wrong place

Open maxant opened this issue 1 year ago • 1 comments

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 :-(

maxant avatar Jan 14 '24 00:01 maxant

PR created: https://github.com/filebrowser/docs/pull/55

maxant avatar Jan 14 '24 00:01 maxant