-
Notifications
You must be signed in to change notification settings - Fork 51
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
Volume mount settings and recordings only #30
Comments
It's probably best to mount the entire wine prefix directory To import reg files, you could merge it using some of the windows tools provided by wine (the same tools as windows). I'm working on ways to script this to make it easier, but you can do it through the gui now using windows regedit or the command like Or, You can also do this from the docker command line from the host:
I'm trying to work through a better way of managing all this using fluxbox menus. I also got a way of making this run as a windows service (like in windows). I just need to work out the details of how to make things start up nice. |
I'm trying to separate my recordings, settings, and docker-compose files. I typically volume mount a drive that is dedicated to large storage and then volume mount my os drive to hold settings and docker-compose files. This allows me to backup my settings to GitHub (making this repo private) and then backup my docker-compose files to GitHub (and potentially make this public in the future), then us some sort of RAID to ensure I don't lose my recordings. It seems like a solution for importing reg files would be helpful for me personally. I'll temporarily put all of |
You should still be able to keep this separate mount:
Even though you're already mounting /root/prefix, you can still mount other paths under there like your existing BlueIris under drive_c. Just make sure the folder doesn't already exist. |
@TonyBrobston - it looks like switching to x64 BlueIris may have been a mistake. I didn't really test it that much until tonight. When I attempt to record anything, the app crashes pretty quickly. I went back and built the 32-bit version of things again and I don't get a crash. Can you confirm if you see an immediate crash when recording on x64? (I just turn on "continuous recording"). |
@leonowski I turned two of my cameras to "Video: Continuous", is this what you mean? I didn't experience that application crashing in this case. However I did have it crash on me at least one yesterday, I think it was just running and I was doing something else; I went to look at a camera live view and noticed it was down. When I sent to view the UI on 8080 it said that Blue Irist had experience some error and had to shutdown. |
@leonowski I swapped over to your latest build on docker hub. Things seem good so far. I'll try to report back later today on whether I have any problems. I was also wondering, could you provide more information on how you're using: Blue Iris, |
node-deepstackai-trigger project has a lot of documentation here: https://github.com/danecreekphotography/node-deepstackai-trigger/wiki Essentially, it's a drop in replacement for the windows "AI Tool" but with a few more features. A docker-compose example for it along with deepstack AI is available at the git repo. It looks like this:
The flow of things is that blueiris will send jpgs to the /aiinput directory --> analyzed by deepstack --> trigger whatever you want appropriately (recording blueiris at full res, triggering a web request, triggering MQTT, etc.) The documentation is really good. I found it really helpful first to use the AI tool on Windows to understand the basics and then switch to the container. Configuration after that is easy peasy. |
@leonowski Thanks for the info. I'll dig into the docs. Looks like a pretty sweet setup. I'm definitely excited to implement it. |
I tried the same thing, even had the volumes the same as yours. Copied the .reg files and drive_c/BlueIris folder from my running container over to the volume locations and started a fresh container with those mounted. BlueIris doesn't start the install process so it can't start. I guess I need to find out what prevents the install process. I'm also not sure why /root/prefix32 is mounted in a volume when Blueiris 5 doesn't run from there. Maybe it's leftovers from Blueiris 4 compatibility? Guessing 4 runs 32 bit while 5 runs 64 bit.
|
Here's where my docker-compose is at, at the moment:
Volume mounting just the couple
.reg
files seems to work well to get the settings into new containers, but when modifying the settings through the Blue Iris UI, they don't seem to end up back on the host machine. I'm not sure why this is.Volume mounting the "New" and "Stored" folders gets the recordings onto the host machine, but later they magically disappear. Which has me a little baffled. Edit: I think maybe this is fixed.
Looking for advice/ideas on how to proceed.
@leonowski Any ideas?
The text was updated successfully, but these errors were encountered: