1.安裝dockergit
sudo apt-get update $ sudo apt-get install wget wget -qO- https://get.docker.com/ | sh docker --version
2.安裝docker-composegithub
sudo pip install -U docker-compose //啓動docker sudo service docker restart
3正式搭建sentryweb
git clone https://github.com/getsentry/onpremise.git cd onpremise mkdir -p data/{sentry,postgres} //獲取key docker-compose run --rm web config generate-secret-key //複製到文件裏 vim docker-compose.yml
4.建立管理員帳號密碼docker
docker-compose run --rm web upgrade
5.開啓服務vim
docker-compose up -d
6.地址 http://localhost:9000post