概览:
docker hub上的nginx镜像默认不支持vts,故不支持prometheus监控。所以通过在官方的nginx的Dockerfile文件修改,添加vts支持。
先将pkg-oss,下载到本地,在其中的Makefile中的构建配置中添加--add-module=/data/src/nginx-module-vts
。
然后根据实际情况将Dockerfile里面的拉取nginx-module-vts
和pkg-oss
换成你的地址。就可以执行docker构建。
- 删除需谨慎,别删除掉系统重要组件了。我删除的列表在最下方。
Usage: wispeeer -[gpdhv] [-i <alias>] [-n <title>]
If you are using it for the first time,
first execute the command “wispeeer init <Blog directory>” to initialize the blog.
概览: