這是我放的文件,根據(jù)同學們的改的
https://github.com/inertiabeer/ghost_config
debug的時候最好不要加-d??
docker-compose up
然后看報錯
如果出現(xiàn)了權(quán)限問題的話,看這個同學的回答
http://idcbgp.cn/qadetail/240208
https://github.com/inertiabeer/ghost_config
debug的時候最好不要加-d??
docker-compose up
然后看報錯
如果出現(xiàn)了權(quán)限問題的話,看這個同學的回答
http://idcbgp.cn/qadetail/240208
2018-02-02
舉報
2018-02-11
謝謝大神
2019-08-28
我全部都是成功啟動,但是訪問80端口只顯示nginx信息,沒有g(shù)host項目
2018-11-28
為什么我還是報錯:
db_1? ? ? ? ?| 2018-11-28T02:10:27.315197Z 0 [Note] Event Scheduler: Loaded 0 events
db_1? ? ? ? ?| 2018-11-28T02:10:27.315363Z 0 [Note] mysqld: ready for connections.
db_1? ? ? ? ?| Version: '5.7.15'? socket: '/var/run/mysqld/mysqld.sock'? port: 3306? MySQL Community Server (GPL)
ghost-app_1? | npm ERR! path /var/lib/ghost/package.json
ghost-app_1? | npm ERR! code ENOENT
ghost-app_1? | npm ERR! errno -2
ghost-app_1? | npm ERR! syscall open
ghost-app_1? | npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/ghost/package.json'
ghost-app_1? | npm ERR! enoent This is related to npm not being able to find a file.
ghost-app_1? | npm ERR! enoent?
ghost-app_1? |?
ghost-app_1? | npm ERR! A complete log of this run can be found in:
ghost-app_1? | npm ERR!? ? ?/root/.npm/_logs/2018-11-28T02_10_27_818Z-debug.log
ghost_ghost-app_1 exited with code 254
2018-09-27
2018-08-02
根據(jù)最新版本提交了一個 Pull Request,
修正了????
--????Dockfile 中 Copy 也要到新的目錄 /var/lib/ghost/content/, 否則 docker-compose up 無法生效
的問題
2018-07-19
感謝整理和分享,我今天運行了一下,發(fā)現(xiàn)總是502 gateway error,?翻別人答案才發(fā)現(xiàn)是Ghost版本升級為后,配置路徑改變了,具體就是在ghost/ghost/文件夾下的Dockerfile里面,copy的目標路徑不是視頻里的 /var/lib/ghost/,而是/var/lib/ghost/content/。?修改完后就可以運行了。
2018-06-30
66666
2018-04-06
哈哈,我也給你加個star
2018-03-26
哈哈哈,給你個star