Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

wangyan/docker-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOCKER-GHOST

Ubuntu: 16.04
NodeJS: 8.9.1 GHOST: 1.1.3

快速开始

国内主机可将 idiswy/ghost:latest 换成 daocloud.io/wangyan/ghost:latest
国内主机可增加-e APT_MIRRORS=aliyun 选项,使用国内的镜像源。
使用-e MAIL=gmail或者-e MAIL=aliyun选项,初始化邮件服务。

docker run --restart=always --name ghost \
-v /opt/ghost:/opt/ghost \
-p 2368:2368 \
-e MAIL=gmail \
-d idiswy/ghost:latest
docker run --restart=always --name ghost \
-v /opt/ghost:/opt/ghost \
-p 2368:2368 \
-e APT_MIRRORS=aliyun \
-e MAIL=aliyun \
-d daocloud.io/wangyan/ghost:latest

Ghost 版本升级

docker exec -it ghost ghost update

注:请将 ghost 换成你容器的名称

文件路径

nginx: /etc/nginx/conf.d/default.conf ghost: /var/lib/ghost/opt/ghost

容器内操作命令

重启 nginx:sv restart nginx 重启 ghost: pm2 restart ghost

About

A docker image for ghost

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages