Skip to main content

sentry 服务搭建

One min read

下载官方的部署项目

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

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

安装

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

运行 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

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

Loading Comments...

0%