Sentry是开源错误跟踪,帮助开发人员实时监控和修复崩溃。不断重复。提高效率。改善用户体验。
记录这篇文章是想分享一下,因为本人在配置时因为邮件服务花费了很多时间;
其实安装以及运行很简单,需要注意邮件请在config.yml里配置,推荐使用mailgun的服务以及587端口,之前mailgun注册完就可以使用,现在还需要配置自己的域名以及绑定信用卡。
在使用mailgun之前都是拿阿里云测试的,后来无意中得知,阿里云并不支持。
另外有其它支持的邮箱可以共享一下,谢谢!
下是一些简介
? 自己安装的话推荐使用 Docker环境 项目地址 https://github.com/getsentry/onpremise
官方文档如下
Assuming you‘ve just cloned this repository, the following steps will get you up and running in no time!
There may need to be modifications to the included docker-compose.yml
file to accommodate your needs or your environment. These instructions are a guideline for what you should generally do.
mkdir -p data/{sentry,postgres}
- Make our local database and sentry config directories. This directory is bind-mounted with postgres so you don‘t lose state!docker-compose build
- Build and tag the Docker servicesdocker-compose run --rm web config generate-secret-key
- Generate a secret key. Add it to docker-compose.yml
in base
as SENTRY_SECRET_KEY
.docker-compose run --rm web upgrade
- Build the database. Use the interactive prompts to create a user account.docker-compose up -d
- Lift all services (detached/background mode).localhost:9000
!原文:https://www.cnblogs.com/lisq/p/10011328.html