Docker安装HEXO+NEXT-v8
docker run -d –name=hexo-blog –restart=always
-e HEXO_SERVER_PORT=4000
-e GIT_USER=”aisyun”
-e GIT_EMAIL=”81607316@qq.com“
-v /docker/hexo/blog.cyida.com:/app
-p 4000:4000
spurin/hexo
docker create –name=hexo-blog –restart=always
-e HEXO_SERVER_PORT=4000
-e GIT_USER=”aisyun”
-e GIT_EMAIL=”81607316@qq.com“
-v /docker/hexo/blog.cyida.com:/app:rw
-p 4000:4000
Docker-compose.yml:
1 | version: '2' |