mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
38 lines
1,021 B
JavaScript
38 lines
1,021 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
|
|
// },
|
|
database: {
|
|
client: 'mysql',
|
|
connection: {
|
|
host : 'localhost',
|
|
user : 'YNH_DBUSER',
|
|
password : 'YNH_DBPWD',
|
|
database : 'YNH_DBNAME',
|
|
charset : 'utf8'
|
|
}
|
|
},
|
|
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;
|