Dockerfiles/hexo
2016-12-01 11:51:10 +08:00
..
bootstrap.sh add git 2016-12-01 11:51:10 +08:00
Dockerfile add git 2016-12-01 11:51:10 +08:00
README.md add git 2016-12-01 11:51:10 +08:00

https://hexo.io/zh-cn/

http://theme-next.iissnan.com/

First Time: docker service create
--name hexo
--publish 4000:4000
-e GIT_EMAIL="me@newnius.com"
-e GIT_NAME="newnius"
--mount type=bind,source=/mnt/data/blog,target=/blog
newnius/hexo

Start Server: docker service create --name hexo --publish 4000:4000 --mount type=bind,source=/mnt/data/blog,target=/blog newnius/hexo /etc/bootstrap.sh server