-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to run multiple instances of Bibledit Cloud #892
Comments
It is possible to do that. Each instance of Bibledit would need to run under its own user account. For example, http://bibledit:8080 runs under user After creating those users, install Bibledit Cloud from source for each of those users. How to install it from source: http://bibledit.org:8090/help/installcloudsourcedebian As shown in the link above, do not install Bibledit in that case, just build is under the user and run it under that user. Then for the proxy pass, I have no experience with how to set that up. Here is a link to how to configure Bibledit for running behind a proxy server: http://bibledit.org:8090/help/config after the proxy server has been set up. |
Thanks for the feedback. Im going to leave this open for a bit while I step though the install. Once I have it up and working Ill close it out if thats ok. Thaks! |
Im going to drop my current working nginx config here for others, just in case someone might find it useful:
As for the multiple instances, I think Im going to take a stab at making a docker container to run bibledit-cloud then just proxy it with nginx that way. Im thinking it might be easier to keep sites updated that way. Do you know if anyone is running this in docker and has a working docker file that I can start with before I start from scratch? Also do you know of any technical limitations in the software that might make us not want to go the docker route? Thanks! |
There won't be limitations on Bibledit Cloud why it would not be able to run in a Docker container. Important though is that Bibledit Cloud saves data locally, so there would be a need to persist the filesystem that Bibledit Cloud writes to while it runs in Docker. Perhaps there's someone who already runs it in Docker, but I am not aware of that. You may ask around on. https://groups.google.com/g/bibledit-general if perhaps someone there knows more about it. |
Hello @michaelrice. I've made a small script a while back that might help with setting up Bibledit in a Docker container. There is some comments you can ignore, if it is out of context. As it was used a while back for a specific project, though the setup is quite general. |
Some questions:
|
Hello,
I need to be able to run multiple instances of the software.
My use case is 1 single server hosting bibledit for multiple different projects/people.
I plan to run nginx to proxy pass the content from bibledit1:8080,8081 to http://site1.com and https://site1.com then have bibledit2:8082,8083 serve up to http://site2.com and https://site2.com etc..
So is this type of a setup possible, and if so do you have any guidance on doing it?
I will be running bibledit-cloud on Ubuntu Linux
Thanks!
The text was updated successfully, but these errors were encountered: