Skip to content

Instantly share code, notes, and snippets.

@fillet54
Created April 6, 2014 08:41
Show Gist options
  • Save fillet54/10003184 to your computer and use it in GitHub Desktop.
Save fillet54/10003184 to your computer and use it in GitHub Desktop.
Ghost Config.js Production Section
// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and mail settings here
production: {
url: 'http://WEBSITENAME.azurewebsites.net',
mail: {
transport: 'SMTP',
options: {
host: 'smtp.sendgrid.net',
port: 587,
auth: {
user: process.env.MAIL_USER,
pass: process.env.MAIL_PASS
}
}
},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: process.env.PORT
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment