Skip to content

dmskr/nodechef

Repository files navigation

nodechef-cookbook

Setup Node.js server with few global packages and MongoDB

Supported Platforms

Ubuntu Debian

Attributes

Key Type Description Default
['hostname'] String External Hostname of the server, usually, top level domain
['set_fqdn'] String Hostname of the particular server
['public_keys'] Array of Strings Public keys allowed to access the server
['known_hosts'] Array of Strings List of urls added to known hosts ['github.com']
['ssmtp'] Hash of values SMTP configuration, see attributes/default.rb
App Server
['project_name'] String Short name of the project. Used to name main directory. node
['git']['repository'] String Git url to repository to clone
['git']['deploy_public_key'] String Public key used for deployments
['git']['deploy_private_key'] String Private key used for deployments

Usage

nodechef::default

Include nodechef in your node's run_list:

{
  "run_list": [
    "recipe[nodechef::default]"
  ]
}

Application Server:

{
  "run_list": [
    "recipe[nodechef::app]"
  ]
}

Database Server:

{
  "run_list": [
    "recipe[nodechef::db]"
  ]
}

All-in-One:

{
  "run_list": [
    "recipe[nodechef::db]"
    "recipe[nodechef::app]"
  ]
}

About

Chef cookbook for node.js servers setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages