当前位置:网站首页>Sentry installation
Sentry installation
2020-11-07 20:56:00 【Coxhuang】
List of articles
- Docker install Sentry
- #1 Environmental Science
- #2 Start
- #2.1 install Docker
- #2.2 Installation dependency
- #2.3 start-up
Docker install Sentry
#1 Environmental Science
Docker
#2 Start
#2.1 install Docker
A little
#2.2 Installation dependency
- Pull redis
docker pull redis
- Pull postsql
docker pull postgres
- Pull sentry
docker pull sentry
#2.3 start-up
- start-up redis
docker run -d --name sentry-redis redis
- start-up postgres
docker run -d --name sentry-postgres -e POSTGRES_PASSWORD=secret -e POSTGRES_USER=sentry postgres
- start-up sentry
docker run --rm sentry config generate-secret-key
Returns a string of random keys : +ga&o_@ctj*hsu91zwdwm4_715+kped+_68sq)ysmvt8(wi+
Use the secret key to perform the following operations :
# <secret-key> Replace with the secret key generated in the previous step docker run -it --rm -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry upgrade
A long wait …
A long wait …
A long wait …
# <secret-key> Replace with the secret key generated in the previous step 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> Replace with the secret key generated in the previous step 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> Replace with the secret key generated in the previous step docker run -d --name sentry-worker-1 -e SENTRY_SECRET_KEY='<secret-key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry run worker
installation is complete !!!
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .
版权声明
本文为[Coxhuang]所创,转载请带上原文链接,感谢
边栏推荐
- 汇编函数mcall systemstack asmcgocall syscall
- Three steps, one pit, five steps and one thunder, how to lead the technical team under the rapid growth?
- WPF 关于绘图个人总结
- 聊聊Go代码覆盖率技术与最佳实践
- 建议患者自杀,OpenAI警告:GPT-3用于医疗目的风险太高
- 屏读时代,我们患上了注意力缺失候群症
- Dynamic programming -- state compression DP of set represented by binary
- High concurrency in ngnix cluster
- 技术总监7年自述——如何选择一家好公司
- C language I blog assignment 03
猜你喜欢
The emergence and significance of micro service
What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
Git代码提交操作,以及git push提示failed to push some refs'XXX'
状态压缩:对动态规划进行降维打击
laravel8更新之维护模式改进
30岁后,你还剩下什么?
Animation techniques and details you may not know
看一遍就理解,图解单链表反转
Code Review最佳实践
How to learn technology efficiently
随机推荐
手撕算法-手写单例模式
What is the relationship between low code vs model driven?
某618大促项目的复盘总结
来自不同行业领域的50多个对象检测数据集
Reflection on a case of bus card being stolen and swiped
Cpp(三) 什么是CMake
AFO记
How to choose a good company
How to deal with data leakage and deletion related to business life and death?
Ac86u KX Online
[random talk] the goal and way of software design
High concurrency in ngnix cluster
awk实现类sql的join操作
我是如何失去团队掌控的?
use Xunit.DependencyInjection Transformation test project
一万四千字分布式事务原理解析,全部掌握你还怕面试被问?
Improvement of maintenance mode of laravel8 update
一文详解微服务架构
Three steps, one pit, five steps and one thunder, how to lead the technical team under the rapid growth?
The instanceof operator in ecmascript7 specification