当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
猜你喜欢

What do you think of the most controversial programming ideas?

你可能不知道的Animation动画技巧与细节

Ac86u KX Online

聊聊Go代码覆盖率技术与最佳实践

Animation techniques and details you may not know

如何高效的学习技术

A detailed explanation of microservice architecture

Improvement of maintenance mode of laravel8 update

Data transmission of asynchronous serial communication controlled by group bus communication

IDEA-项目未自动生成 .iml 文件
随机推荐
Adobe Lightroom /Lr 2021软件安装包(附安装教程)
构造请求日志分析系统
Design pattern of facade and mediator
Search and replace of sed
How to choose a good company
Data transmission of asynchronous serial communication controlled by group bus communication
浅谈HiZ-buffer
编程界大佬教你:一行Python代码能做出哪些神奇的事情?
Static + code block + polymorphism + exception
Share several vs Code plug-ins I use everyday
我是如何失去团队掌控的?
What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
屏读时代,我们患上了注意力缺失候群症
How to deal with data leakage and deletion related to business life and death?
C language I blog assignment 03
面部识别:攻击类型和反欺骗技术
Awk implements SQL like join operation
阿里terway源码分析
【原创】ARM平台内存和cache对xenomai实时性的影响
graph generation model