Last active
May 11, 2022 06:45
-
-
Save ghulamostafa/6a7ef9e4c02ceb8b5813586ddeca2489 to your computer and use it in GitHub Desktop.
Installation instructions for Sentry on Digital Ocean Docker
This file contains hidden or 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
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