-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
59 lines (47 loc) · 1.25 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
var path = require('path'),
config;
config = {
production: {
url: process.env.BASE_URL || 'http://blog.ertrzyiks.pl/',
mail: {},
database: {
client: 'postgres',
connection: process.env.DATABASE_URL
},
server: {
host: '0.0.0.0',
port: process.env.PORT
},
storage: {
active: 'ghost-cloudinary-store',
'ghost-cloudinary-store': {
cloud_name: process.env.CLOUDINARY_CLOUD_NAME,
api_key: process.env.CLOUDINARY_API_KEY,
api_secret: process.env.CLOUDINARY_API_SECRET
}
},
paths:{
contentPath: path.join(__dirname, '/content/')
}
},
development: {
url: 'http://localhost:2368',
mail: {},
fileStorage: true,
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-dev.db')
},
debug: false
},
server: {
host: '0.0.0.0',
port: '2368'
},
paths: {
contentPath: path.join(__dirname, '/content/')
}
}
};
module.exports = config;