-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Can I specify a database to automatically open? #14
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Right, well I tried modifying the Might there be an env var for this that I've simply overlooked? |
Check if the sqlitebrowser accepts such arguments or env vars. That's not under our control. |
Thanks for the note @aptalca. I notice in the VNC windowing environment, I can close the "DB Browser for SQLite" window, right-click to get a GUI context menu, choose "xterm", then type I note also that without my writing the Thus I don't think this is a downstream issue per se; I just need to find where this command is stored. Is it started by the S6 supervisor system? |
Ha, well I found a yucky solution. I worked out where the executable was, and hacked it in a downstream image. I'd be happy if there is an easier way to do this, but it'll do for now...
|
If the cli argument works, you can just set it in autostart in the config folder. That's persistent |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Is this a new feature request?
Wanted change
Hi folks
I'm logging this as a "feature request", but I expect it is already possible. I have scoured the docs fairly thoroughly, and cannot find anything.
I have set up this image in my Docker Compose like so:
This seems to work great; the
database
volume lets the system read from my SQLite folder. However I'd love to be able to load a database automatically, as for my current project I'll always be working on just one database.I wonder if it could be this file?
https://github.com/linuxserver/docker-sqlitebrowser/blob/master/root/defaults/autostart
Could I just amend this to have a fully-qualified database pathname, and it would auto-open? I'd need my own Dockerfile so as to make this change, but that is not much bother. (I may yet try this, but it is rather guesswork at this stage).
Thanks for your work - this is going to be very useful!
Reason for change
I suspect this is not a code change, maybe a documentation change. I think it would be a generally useful feature.
Proposed code change
Probably a code change is not necessary.
The text was updated successfully, but these errors were encountered: