当前位置:网站首页>Sentry 安装
Sentry 安装
2020-11-07 20:56:00 【Coxhuang】
文章目录
- Docker 安装 Sentry
- #1 环境
- #2 开始
- #2.1 安装Docker
- #2.2 安装依赖
- #2.3 启动
Docker 安装 Sentry
#1 环境
Docker
#2 开始
#2.1 安装Docker
略
#2.2 安装依赖
- 拉取redis
docker pull redis
- 拉取 postsql
docker pull postgres
- 拉取 sentry
docker pull sentry
#2.3 启动
- 启动 redis
docker run -d --name sentry-redis redis
- 启动 postgres
docker run -d --name sentry-postgres -e POSTGRES_PASSWORD=secret -e POSTGRES_USER=sentry postgres
- 启动 sentry
docker run --rm sentry config generate-secret-key
返回一串随机秘钥 : +ga&o_@ctj*hsu91zwdwm4_715+kped+_68sq)ysmvt8(wi+
使用该秘钥进行以下操作 :
# <secret-key> 替换成上一步生成的秘钥 docker run -it --rm -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry upgrade
漫长的等待 …
漫长的等待 …
漫长的等待 …
# <secret-key> 替换成上上一步生成的秘钥 docker run -d -p 9000:9000 --name my-sentry -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-redis:redis --link sentry-postgres:postgres sentry
# <secret-key> 替换成上上上一步生成的秘钥 docker run -d --name sentry-cron -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry run cron
# <secret-key> 替换成上上上上一步生成的秘钥 docker run -d --name sentry-worker-1 -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry run worker
安装完成 !!!
本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。
版权声明
本文为[Coxhuang]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/1744577
边栏推荐
- 想要忘记以前连接到Mac的WiFi网络,试试这个方法!
- 华为HCIA笔记
- 【原创】ARM平台内存和cache对xenomai实时性的影响
- Code Review Best Practices
- There's not much time left for Kwai Chung.
- The most hard core of the whole network explains the computer startup process
- Exception calling 'downloadstring' with '1' arguments: 'operation timed out'
- The samesite problem of cross domain cookie of Chrome browser results in abnormal access to iframe embedded pages
- 一万四千字分布式事务原理解析,全部掌握你还怕面试被问?
- Big data algorithm - bloon filter
猜你喜欢

计组-总线通信控制之异步串行通信的数据传输

在pandas中使用pipe()提升代码可读性

不懂数据库索引的底层原理?那是因为你心里没点b树

Let's talk about the locks in the database

Analysis of kubernetes service types: from concept to practice

The most hard core of the whole network explains the computer startup process

一万四千字分布式事务原理解析,全部掌握你还怕面试被问?

Bgfx compilation tutorial

laravel8更新之维护模式改进

聊聊Go代码覆盖率技术与最佳实践
随机推荐
Principles of websocket + probuf
不懂数据库索引的底层原理?那是因为你心里没点b树
websocket+probuf.原理篇
Code Review Best Practices
Stack bracket matching
What should be considered in the promotion plan outside the station?
大数据算法——布隆过滤器
awk实现类sql的join操作
计组-总线通信控制之异步串行通信的数据传输
你可能不知道的Animation动画技巧与细节
一文详解微服务架构
PHP security: the past and present of variables
AFO记
构造请求日志分析系统
Implementation of Caesar cipher
How to think in the way of computer
阿里terway源码分析
微服务的出现和意义的探索
The JS solution cannot be executed after Ajax loads HTML
屏读时代,我们患上了注意力缺失候群症