Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var path = require('path'), config;
- config = {
- development: { url: 'http://localhost:GHOST_PORT',
- database: { client: 'sqlite3', debug: false, connection: {
- filename: path.join(__dirname, '/content/data/ghost-dev.db')
- }},
- server: { host: '127.0.0.1', port: 'GHOST_PORT' }, paths: {
- contentPath: path.join(__dirname, '/content/')
- },
- },
- production: { url: 'http://localhost:GHOST_PORT', preloadHeaders: 100,
- database: {client: 'mysql', connection: {
- host : 'localhost',
- user : 'DB_USER',
- password: 'DB_PASS',
- database: 'DB_NAME',
- }},
- /*
- database: { client: 'sqlite3', debug: false, connection: {
- filename: path.join(__dirname, '/content/data/ghost-prod.db')
- }},
- storage: { active: 'cloudinary-store', 'cloudinary-store': {
- cloud_name: 'ariss',
- api_key : '791177117251539',
- api_secret: 'xxHlwY-gtFPk_z5_glkBsDwvAoI'
- }},
- mail: { transport: 'SMTP', options: { service: 'Mailgun', auth: {
- user: 'SMTP_USER',
- pass: 'SMTP_PASS'
- }}},
- */
- server: { host: '0.0.0.0', port: 'GHOST_PORT' }, paths: {
- contentPath: path.join(__dirname, '/content/')
- },
- },
- };
- module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement