1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00
ghost_ynh/conf/config.js
2014-03-18 08:54:50 +01:00

28 lines
730 B
JavaScript

// # Ghost Configuration
// Setup your Ghost install for various environments
var path = require('path'),
config;
config = {
production: {
url: 'http://YNH_DOMAINYNH_LOCATION',
mail: {YNH_MAIL},
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: '0.0.0.0',
// 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;