GitXplorerGitXplorer
w

chef-rails-app

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7034133fb4b5384b00b4356be36138bc6f7f5017

Add puma

wwhatcould committed 3 years ago
Unverified
c18ff6e5b4f25dc24da35660a2646dd55d28af76

Update Sidekiq config

wwhatcould committed 5 years ago
Unverified
8e33a771bd35932a0360e5f270d907182e6c39e5

Systemd updates

wwhatcould committed 6 years ago
Unverified
f09d42681dc20b392c08008a2a31a68909727ece

Add sidekiq setup with systemd

wwhatcould committed 6 years ago
Unverified
69c2c32aef78de2a8ade3009d169301f7d582217

Do not specify user in rbenv_gem bundler installation

wwhatcould committed 6 years ago
Unverified
bf3fa3c704aafc6f0debfd5389a20715ebf23d4f

Attempt to remove vhost symlink from hosts-enabled when disabling

wwhatcould committed 6 years ago

README

The README file for this repository.

Rails app setup

Use at your own risk.

Chef setup for Rails app, nginx, passenger, postgres/mysql, logrotate, munin (for postgres).

Call it like this:

rails_server 'appname' do
  env_name 'production'
  user_name 'deploy'
  database 'postgres'
  db_user_password 'password' # appname_user
  server_names 'example.com altdomain.example.com'
  pre_start 'http://example.com'
end

rails_server 'appname' do
  env_name 'production'
  user_name 'deploy'
  database 'mysql'
  mysql_root_password 'password'
  db_user_password 'password' # appname_user
  server_names 'example.com altdomain.example.com'
  pre_start 'http://example.com'
end