-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bookstack app on docker to Windows host DB issue #5243
Comments
Hi @sukhoi1, I'm not too sure since I don't really use Windows, and the extra layers required on Windows will likely complicate things (and may differ between normal docker desktop and WSL usage).
Why will you loose data? |
Hi @ssddanbrown, thank you for high-level hint. I started to test a Windows-approach with both containers: Bookstack and MariaDB. SQLSTATE[HY000] [2002] Connection refused (SQL: alter table
But there is a fix for this Windows problem: here linuxserver/docker-bookstack#125 the final post. With this compose file volumes are created and files are visible. When the containers are dropped and recreated, then docker compose is up once again (folders are left as is) Boostack login starts and data is restored with images on WIndows.
|
@ssddanbrown now it is not clear how to upgrade docker container images. |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
I have installed a Local DB for bookstack on port 3306 to not loose data after PC reboot on Windows. The goal is to start Bookstack instance from docker container which will connect to external DB on Windows Host.
Two params are set
where IP is taken after reboot each time new: from ipconfig 172.25.16.1
docker-compose.yml
ipconfig port that works (but this is not something generic, like host.docker.internal) host.docker.internal does not work.
Is there a way to make Bookstack work in a generic way (without binding to IP 172.25.16.1)? Or I have to recreate a container on each time after reboot with new IP in environment variable?
Asked same question here: https://stackoverflow.com/questions/79055630/bookstack-app-on-docker-to-windows-host-db-issue
Exact BookStack Version
latest
Log Content
No response
Hosting Environment
Host: Windows with manually installed DB
The text was updated successfully, but these errors were encountered: