Created
May 1, 2015 20:01
-
-
Save schneidmaster/824f0291c2b091bef0f7 to your computer and use it in GitHub Desktop.
Sample Ghost Production Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// # Ghost Configuration | |
// Setup your Ghost install for the production environment | |
// Documentation can be found at http://support.ghost.org/config/ | |
var path = require('path'), | |
config; | |
config = { | |
// ### Production | |
// When running Ghost in the wild, use the production environment | |
// Configure your URL and mail settings here | |
production: { | |
url: 'https://yourappdomain.com', | |
mail: { | |
transport: 'SMTP', | |
options: { | |
service: 'Mailgun', | |
auth: { | |
user: 'postmaster@mg.yourappdomain.com', // mailgun username | |
pass: 'yourmailgunpassword' // mailgun password | |
} | |
} | |
}, | |
database: { | |
client: 'mysql', | |
connection: { | |
host: '127.0.0.1', | |
user: 'ghost_user', | |
password: 'your_ghost_user_password', | |
database: 'ghost_db', | |
charset: 'utf8' | |
} | |
}, | |
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: '2368' | |
} | |
} | |
}; | |
// Export config | |
module.exports = config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment