Skip to content

Instantly share code, notes, and snippets.

@ghulamostafa
Last active May 11, 2022 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghulamostafa/6a7ef9e4c02ceb8b5813586ddeca2489 to your computer and use it in GitHub Desktop.
Save ghulamostafa/6a7ef9e4c02ceb8b5813586ddeca2489 to your computer and use it in GitHub Desktop.
Installation instructions for Sentry on Digital Ocean Docker
Get Ubuntu with NGINX
sudo apt update
sudo apt upgrade
# install Docker
# https://docs.docker.com/engine/install/ubuntu/
git clone https://github.com/getsentry/self-hosted.git --branch 22.4.0 <tag>
cd self-hosted
./install.sh
setup the admin credentials
docker compose up -d
cd
touch /etc/nginx/sites-available/reverse-proxy
ln -s /etc/nginx/sites-available/reverse-proxy /etc/nginx/sites-enabled/reverse-proxy
nano /etc/nginx/sites-available/reverse-proxy
server {
listen 80;
server_name sentry.thawani.om;
location / {
proxy_pass http://localhost:9000;
}
}
sudo nginx -t
sudo systemctl reload nginx
sudo systemctl status nginx
That's all folks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment