Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gionn/redmine-cookbook
Massive Redmine hosting with unicorn and nginx
https://github.com/gionn/redmine-cookbook
Last synced: 18 days ago
JSON representation
Massive Redmine hosting with unicorn and nginx
- Host: GitHub
- URL: https://github.com/gionn/redmine-cookbook
- Owner: gionn
- Created: 2013-12-28T18:00:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-05T19:41:47.000Z (about 11 years ago)
- Last Synced: 2025-01-12T05:39:26.974Z (24 days ago)
- Language: Ruby
- Homepage:
- Size: 172 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Redmine Chef cookbook for massive hosting
=========================================
[![Build Status](https://travis-ci.org/gionn/redmine-cookbook.png?branch=master)](https://travis-ci.org/gionn/redmine-cookbook)It can be used to deploy multiple versions of redmine, each one with its own dedicated system user, served by unicorn instances.
Attributes
----------```
node['redmine']['version'] = "2.4.2"
node['redmine']['ruby_version'] = "2.0.0-p247"
node['redmine']['base_path'] = "/home"
```Usage
-----
Declare your desired redmines to be installed under profiles, and use the proposed runlist:```ruby
chef.json = {
:mysql => {
:server_root_password => "iloverandompasswordsbutthiswilldo",
:server_repl_password => "iloverandompasswordsbutthiswilldo",
:server_debian_password => "iloverandompasswordsbutthiswilldo"
},
:redmine => {
:profiles => {
'redmine_default' => {
:redmine_version => "2.4.2",
:ruby_version => "2.0.0-p247",
:database => {
:type => "mysql",
:username => "redmine_default",
:password => "redmine_default",
:dbname => "redmine_default"
},
:unicorn => {
:listen => 'localhost:8080',
:workers => 2,
:preload => true
}},
'redmine_secondary' => {
:redmine_version => "1.4.2",
:ruby_version => "1.9.3-p484",
:database => {
:type => "mysql",
:username => "redmine_sec",
:password => "redmine_lka123sdkasd",
:dbname => "redmine_secondary"
},
:unicorn => {
:listen => 'localhost:8081',
:workers => 2,
:preload => true
}
}
}
}
}chef.run_list = [
"recipe[redmine::mysql]",
"recipe[redmine::ruby]",
"recipe[redmine::redmine]"
]```
License and Authors
-------------------
Authors: Giovanni Toraldo