Created
March 3, 2018 11:48
-
-
Save codehimanshu/fa5ed3293e4dc63bc91d990c54ea9bb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update system packages | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Docker Installation | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install -y docker-ce | |
sudo apt install docker-compose | |
sudo systemctl status docker | |
# Sentry Installation | |
git clone https://github.com/getsentry/onpremise.git | |
cd onpremise/ | |
mkdir -p data/{sentry,postgres} | |
sudo docker-compose run --rm web config generate-secret-key #(Generate a secret key. Add it to docker-compose.yml in base as SENTRY_SECRET_KEY.) | |
sudo docker-compose run --rm web upgrade | |
sudo docker-compose up -d | |
#Access your instance at localhost:9000! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment