Ghost Ghost:修改docker-compose配置文件,快速将Ghost从1.8.0升级2.1.0 进入ghost目录,docker-compose down 修改dockercompose的ghost版本号为2.1.1 docker-compose up -d 打开网站发现在升级中,等一段时间后刷新就好了,我等不及就重启服务器了,没啥问题 [ghost@nginx ghost]$ docker-compose down Stopping ghost ... done Removing ghost ... done [ghost@nginx ghost]$ vi docker-compose.yml [ghost@nginx ghost]
Ghost Ghost: Markdown设置图片宽度,避免页面被撑开 网上方法有很多 [图片标题](url =xxx) [图片标题](url){width样式定义} img的http标签写法,加入限制宽度属性 在文章头部加入样式定义 -- 最后我用了这种,有效! 设置方法 在文章的头部加入以下内容即可<style> img{ width: 100%; padding-left: 0%; } </style>
Ghost Ghost: 用Docker搭建博客Ghost1.18.0和Nginx的详细过程 【概述】 简单docker搭建Ghost 复杂docker-compose搭建Ghost+Nginx 简单docker: 解析域名(1/2) 安装docker 拉取ghost 启动docker容器(2/2) 就可以访问网页了 复杂docker: 解析域名(1/9) 给ghost预设好用户权限和超级命令 安装docker 安装docker-compose docker容器创建网络(2/9),提供给ghost和nginx组网 拉取ghost镜像 配置ghost的映射目录和配置文件(3/9) 编写ghost快速容器配置(4/9) 启动ghost(
Ghost Advanced Markdown tips There are lots of powerful things you can do with the Ghost editor If you've gotten pretty comfortable with all the basics of writing in Ghost, then you may enjoy some more advanced
Ghost Setting up your own Ghost theme Creating a totally custom design for your publication Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be easily adapted for