https://github.com/kirillshevch/chef-template
Chef Solo config for management servers with Ruby/Rack based applications
https://github.com/kirillshevch/chef-template
chef chef-boilerplate chef-solo devops
Last synced: 9 months ago
JSON representation
Chef Solo config for management servers with Ruby/Rack based applications
- Host: GitHub
- URL: https://github.com/kirillshevch/chef-template
- Owner: kirillshevch
- License: mit
- Created: 2017-02-02T14:35:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T14:08:28.000Z (over 8 years ago)
- Last Synced: 2024-12-30T16:04:06.241Z (over 1 year ago)
- Topics: chef, chef-boilerplate, chef-solo, devops
- Language: Ruby
- Homepage:
- Size: 20.5 KB
- Stars: 24
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# chef-template
Chef Solo config for management servers with Ruby/Rack based applications
## Tutorial
[Using Chef and Capistrano to deploy a Rails application on Ubuntu 16.04](https://medium.com/@kirill_shevch/using-chef-and-capistrano-to-deploy-rails-application-on-ubuntu-16-04-fae1dfe0dd12)
## Stack
* Ubuntu 16.04
* PostgreSQL
* Redis
* Monit
* RVM
* Node.js
* Nginx
* Ncdu
## Usage
Insert machine IP into next files:
[nginx](https://github.com/kirillweb/chef-template/blob/master/site-cookbooks/chef-nginx/templates/project.conf.erb#L8)
[nginx](https://github.com/kirillweb/chef-template/blob/master/site-cookbooks/chef-nginx/templates/project.conf.erb#L16)
[node](https://github.com/kirillweb/chef-template/blob/master/nodes/machine.ip.json#L9)
```bash
cp nodes/machine.ip.json nodes/my_new_node.json
```
Replace passwords into base [role](https://github.com/kirillweb/chef-template/blob/master/roles/base.json) and run:
```bash
bundle exec knife solo bootstrap root@ip nodes/my_new_node.json
```
## License
The template is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).