Skip to content

Instantly share code, notes, and snippets.

@deflume1
Created March 21, 2017 01:29
Show Gist options
  • Save deflume1/2ba81b8206c893aa4e001788f8f4b938 to your computer and use it in GitHub Desktop.
Save deflume1/2ba81b8206c893aa4e001788f8f4b938 to your computer and use it in GitHub Desktop.
A sample production config for ghost
production: {
url: 'https://deflumeri.com',
mail: {},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
host: '127.0.0.1',
port: '2368'
},
storage: {
active: 's3',
s3: {
accessKeyId: 'youraccesskey',
assetHost: 'https://cdn.deflumeri.com',
bucket: 'deflumeri-webserver',
//pathPrefix: 'YOUR_OPTIONAL_BUCKET_SUBDIRECTORY',
region: 'us-east-1',
secretAccessKey: 'yoursecretkey'
},
},
mail: {
from: 'anemail',
transport: 'SMTP',
options: {
host: 'yourmailhost',
port: 587,
auth: {
user: 'anemail',
pass: 'yourpassword'
}
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment