, ,

NginxPulse日志分析工具环境部署

操作:https://nginx-pulse-docs.kaisir.cn/docs/Quick-Start …

操作:https://nginx-pulse-docs.kaisir.cn/docs/Quick-Start

轻量级的 Nginx 日志分析面板

docker环境部署

docker run -d --name nginxpulse \
  -p 8088:8088 \
  -p 8089:8089 \
  -e WEBSITES='[{"name":"主站","logPath":"/share/log/nginx/access.log","domains":["example.com"]}]' \
  -v /var/www/nginx/access.log:/share/log/nginx/access.log:ro \
  -v /var/www/nginx/pgdata:/app/var/pgdata \
  -v $(pwd)/var/nginxpulse_data:/app/var/nginxpulse_data \
  magiccoders/nginxpulse:latest

跑起来之后:

常用问题

进入对应容器

docker exec -it 153553f0a830  /bin/sh

查日志

docker logs 313e55ecab60
nginxpulse: use external postgres: no (using embedded postgres)
2026-08-27 09:56:51.827 UTC [40] FATAL:  database files are incompatible with server
2026-08-27 09:56:51.827 UTC [40] DETAIL:  The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.9.
nginxpulse: postgres did not become ready within 120s

Previous Post

Next Post

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

About the Author

每个人都有自己得时区,在自己得时区里,一切都是准时的。

BlockSpare — News, Magazine and Blog Addons for (Gutenberg) Block Editor