-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
79 lines (74 loc) · 2.08 KB
/
config.js
File metadata and controls
79 lines (74 loc) · 2.08 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// # Ghost Configuration
// Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments).
// Ghost runs in `development` mode by default. Full documentation can be found at http://support.ghost.org/config/
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: '{{BLOG_DOMAIN}}',
mail: {
from: '{{MAIL_LOGIN}}',
transport: 'SMTP',
options: {
host: '{{MAIL_SERVER}}',
secureConnection: false,
port: 587,
auth: {
user: '{{MAIL_LOGIN}}',
pass: '{{MAIL_PASSWORD}}'
}
}
},
maintenance: {
enabled: false
},
database: {
client: 'mysql',
connection: {
host : '{{DB_HOST}}',
user : '{{DB_USR}}',
password : '{{DB_PW}}',
database : '{{DB_NAME}}',
charset : 'utf8'
}
},
server: {
host: '127.0.0.1',
port: '2368'
}
},
development: {
url: 'http://localhost',
mail: {
from: '{{MAIL_LOGIN}}',
transport: 'SMTP',
options: {
host: '{{MAIL_SERVER}}',
secureConnection: false,
port: 587,
auth: {
user: '{{MAIL_LOGIN}}',
pass: '{{MAIL_PASSWORD}}'
}
}
},
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;