1. Install Docker on CentOS 7
1.1 Update yum packages
$ sudo yum update
1.2 Install docker on CentOS
$ sudo yum install docker
1.3 Start the docker service
$ sudo service docker start
1.4 Verify if the docker is installed correctly
$ sudo docker run hello-world
2. Install Sentry
2.1 Install git
$ sudo yum install git
2.2 Clone the docker images and build
$ git clone https://github.com/getsentry/onpremise.git
$ cd onpremise
3.3 Install docker-compose
$ sudo yum install docker-compose
3.4 Install Sentry
Follow the instructions https://github.com/getsentry/onpremise
mkdir -p data/{sentry,postgres}
docker-compose run --rm web config generate-secret-key
# put the secret-key to docker-compose.yml in base as SENTRY_SECRET_KEY
docker-compose run --rm web upgrade
docker-compose up -d
3.5 Email Config
Recommend qq mail
网友评论