Created
April 6, 2014 08:41
-
-
Save fillet54/10003184 to your computer and use it in GitHub Desktop.
Ghost Config.js Production Section
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
// ### 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