/var/lib/ghost/package.json
找不到/var/lib/ghost/package.json
找不到/var/lib/ghost/package.json
2019-03-14
你有在ghost 里面写config.js,这个文件夹里面有两个文件 config.js 和 Dockerfile
config.js里面内容是
var path = require('path'),
config;
config = {
production: {
url: 'http://mytestblog.com',
mail: {},
database: {
client: 'mysql',
connection: {
host: 'db',
user: 'ghost',
database: 'ghost',
port: '3306',
charset: 'utf-8'
},
debug: false
},
paths: {
contentPath: path.join(process.env.GHOST_CONTENT,'/')
},
server: {
host: '0.0.0.0',
port: '2368'
}
}
};
module.exports =config;举报