Advertisement
riespandi

ghost_config_sample.js

Nov 11th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.39 KB | None | 0 0
  1. var path = require('path'), config;
  2. config = {
  3.     development: { url: 'http://localhost:GHOST_PORT',
  4.         database: { client: 'sqlite3', debug: false, connection: {
  5.             filename: path.join(__dirname, '/content/data/ghost-dev.db')
  6.         }},
  7.         server: { host: '127.0.0.1', port: 'GHOST_PORT' }, paths: {
  8.             contentPath: path.join(__dirname, '/content/')
  9.         },
  10.     },
  11.     production: { url: 'http://localhost:GHOST_PORT', preloadHeaders: 100,
  12.         database: {client: 'mysql', connection: {
  13.             host    : 'localhost',
  14.             user    : 'DB_USER',
  15.             password: 'DB_PASS',
  16.             database: 'DB_NAME',
  17.         }},
  18.         /*
  19.         database: { client: 'sqlite3', debug: false, connection: {
  20.             filename: path.join(__dirname, '/content/data/ghost-prod.db')
  21.         }},
  22.         storage:  { active: 'cloudinary-store', 'cloudinary-store': {
  23.             cloud_name: 'ariss',
  24.             api_key   : '791177117251539',
  25.             api_secret: 'xxHlwY-gtFPk_z5_glkBsDwvAoI'
  26.         }},
  27.         mail: { transport: 'SMTP', options: { service: 'Mailgun', auth: {
  28.             user: 'SMTP_USER',
  29.             pass: 'SMTP_PASS'
  30.         }}},
  31.         */
  32.         server: { host: '0.0.0.0', port: 'GHOST_PORT' }, paths: {
  33.             contentPath: path.join(__dirname, '/content/')
  34.         },
  35.     },
  36. };
  37. module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement