Skip to content

Instantly share code, notes, and snippets.

@andris9
Created September 20, 2016 13:07
Show Gist options
  • Save andris9/2ce994ec43d48c6820c4cdca22633f36 to your computer and use it in GitHub Desktop.
Save andris9/2ce994ec43d48c6820c4cdca22633f36 to your computer and use it in GitHub Desktop.
Ghost@Zone
// # Ghost Configuration
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: 'http://ghost.tahvel.info',
mail: {
transport: 'SMTP'
},
database: {
client: 'mysql',
connection: {
host : 'd12345.mysql.zone.ee',
user : 'd12345_ghost',
password : 'Ghostpass123',
database : 'd12345_ghost',
charset : 'utf8'
}
},
server: {
host: '127.0.0.1',
port: '2368'
}
}
};
module.exports = config;
{
"apps": [{
"name": "ghost",
"script": "./ghost/index.js",
"cwd": "./ghost",
"watch": true,
"env": {
"NODE_ENV": "production",
"GHOST_NODE_VERSION_CHECK": "false"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment