Skip to content

Instantly share code, notes, and snippets.

@codehimanshu
Created March 3, 2018 11:48
Show Gist options
  • Save codehimanshu/fa5ed3293e4dc63bc91d990c54ea9bb1 to your computer and use it in GitHub Desktop.
Save codehimanshu/fa5ed3293e4dc63bc91d990c54ea9bb1 to your computer and use it in GitHub Desktop.
# 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