-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add support for Redmine/Gitolite splitted configuration #431
Comments
This cannot work. See here : http://redmine-git-hosting.io/faq/#can-i-install-gitolite-and-redmine-on-different-servers- |
With the pull-request I made, it works fine.
Everything else is just as in the tutorial. About the latency, think about cloud computing. It's all about isolate and scale your app. I don't see any problem here. |
Of course it works, but this is not a common configuration. It was a deliberate choice to not provide this feature to not add too much complexity. |
I understand but that kind of setup will become more and more common. |
Thanks! I'm not against adding this feature... but I still have questions... What about Sidekiq worker? |
I'm not familiar with Sidekick, redis... Using Docker you have to isolate every process in a different container. I found that : https://github.com/mperham/sidekiq/wiki/Deployment Also, I'm deploying 1 redmine/ 1 gitolite, not a centralized gitolite for every redmine. It could be possible to do so but as you said it will involve a lot more complexity to keep Gitolite config file consistent. |
This is great, exactly what I need, thanks! |
Added in commit 10aec4c
I answer myself : with 2 more containers :
The Redis container must accessible by all Redmine instances (Webserver + Worker). This might need a bit of configuration (mostly container communication) but it should work. |
For some reasons I need to have gitolite and redmine on two separates instances.
After some tests I found that the plugin kept trying to connect to localhost even if I changed :ssh_server_domain value.
It appears that 'localhost' is hardcoded in
lib/redmine_git_hosting/config/gitolite_base.rb
andlib/redmine_git_hosting/gitolite_wrapper.rb
. By changing 'localhost' with value from :ssh_server_domain everything works fine.The text was updated successfully, but these errors were encountered: