当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Share several vs Code plug-ins I use everyday
- 14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
- GrowingIO 响应式编程探索和实践
- How did I lose control of the team?
- The emergence and significance of micro service
- 栈-括号的匹配
- Facebook开源框架如何简化 PyTorch 实验
- Code Review Best Practices
- Stack bracket matching
- Do not understand the underlying principle of database index? That's because you don't have a B tree in your heart
猜你喜欢

【解决方案】分布式定时任务解决方案

工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?

洞察——风格注意力网络(SANet)在任意风格迁移中的应用

构造请求日志分析系统

Improvement of maintenance mode of laravel8 update

What do you think of the most controversial programming ideas?

Deep into web workers (1)

Summary of the resumption of a 618 promotion project

Don't treat exceptions as business logic, which you can't afford

30岁后,你还剩下什么?
随机推荐
在pandas中使用pipe()提升代码可读性
AFO
[random talk] the goal and way of software design
C language I blog assignment 03
easyui dialog“缓存问题”
栈-括号的匹配
汇编函数mcall systemstack asmcgocall syscall
Facebook开源框架如何简化 PyTorch 实验
Improvement of maintenance mode of laravel8 update
How Facebook open source framework simplifies pytorch experiment
使用 Xunit.DependencyInjection 改造测试项目
Jingtao project day09
High concurrency in ngnix cluster
Share several vs Code plug-ins I use everyday
What do you think of the most controversial programming ideas?
30岁后,你还剩下什么?
On hiz buffer
Web安全(二)---跨域资源共享
阿里terway源码分析
What magic things can a line of Python code do?