A Chef cookbook for building and managing a Ghost blog.
- nodejs
- Chef 11+
- Ubuntu 14.04
This cookbook depends on the following community cookbooks:
- nodejs '~> 2.4.0'
node['ghostblog']['install_dir']
- Installation directory for Ghost. Default is/var/www/ghost
node['ghostblog']['version']
- Ghost blog version. Default islatest
. Will also take old versions0.5.9, 0.5.8, etc
node['ghostblog']['app']['server_url']
- Ghost app server url. Default islocalhost
node['ghostblog']['app']['port']
- Ghost app port. Default is2368
node['ghostblog']['app']['mail_transport_method']
- Ghost app mailing method. Default isSMTP
.node['ghostblog']['app']['mail_service']
- Name of Mail service to use with nodemailer. Default isnil
. SupportsGmail
,SES
, &mailgun
.node['ghostblog']['app']['mail_user']
- Username for select mail service. Default isnil
node['ghostblog']['app']['mail_passwd']
- Password for selected mail user. Default isnil
node['ghostblog']['app']['db_type']
- Type of database to use with Ghost. Default issqlite3
. Supportssqlite3
, andmysql
.
node['ghostblog']['mysql']['host']
- MySQL host. Default is127.0.0.1
node['ghostblog']['mysql']['user']
- MySQL user. Default isghost_blog
node['ghostblog']['mysql']['passwd']
- MySQL password. Default isChangePasswordQuick!
node['ghostblog']['mysql']['database']
- MySQL database name. Default isghost_db
node['ghostblog']['mysql']['charset']
- MySQL charset. Default isutf8