目录

sentry 服务搭建

# sentry 服务搭建

  • 请提前准备好一个用于发邮件提醒的 email
  • 参考 https://juejin.cn/post/6847902219015356423

下载官方的部署项目

git clone https://github.com/getsentry/onpremise.git
cd onpremise
git chechout 9.1.2
1
2
3

docker 换源

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://hkoa9dfz.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
1
2
3
4
5
6
7
8

安装

export SENTRY_IMAGE='sentry:9.1.2'
./install.sh
1
2

运行 Sentry docker-compose up -d

# Bug

解决 sentry 安装时的 could not translate host name “postgres” to address: Name or service not known

docker rmi postgres
docker pull postgres:9.6
1
2

更新后发现表不兼容
偷懒直接删掉了

上次更新: 2024-01-10 16:01:00
最近更新
01
自建 RSS 订阅
01-05
02
搭建私人 docker hub
01-02
03
关于 SSH 攻击
10-12
更多文章>