Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maxant opened this issue Jan 14, 2024 · 1 comment

Comments

@maxant
Copy link

maxant commented Jan 14, 2024

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
Copy link
Author

maxant commented Jan 14, 2024

PR created: #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant