Video coming soon…

🐛 Setup Sentry — Self-Hosted Error Tracking & Performance Monitoring

Deploy Sentry on Ubuntu with Docker — the industry-standard platform for capturing application errors and performance data with full stack traces and context, on port 9002.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — it clones the official Sentry self-hosted repo and runs its installer for you, bringing up the full 40+ container stack on port 9002. Needs a beefy server: 16 GB RAM minimum.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/sentry/sentry-ubuntu.sh
chmod +x sentry-ubuntu.sh
sudo bash sentry-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/sentry/sentry-ubuntu.sh

2 Make it Executable

chmod +x sentry-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, clones the official getsentry/self-hosted repository, and runs its install.sh — which pulls and configures the full 40+ container stack and binds Sentry to port 9002. This takes a while and needs at least 16 GB of RAM.

sudo bash sentry-ubuntu.sh

4 Create Your Admin User

Sentry doesn't ship a default login — you create the first admin account yourself with the createuser command, then open http://your-server:9002 and sign in:

docker compose run --rm web createuser  # then open http://:9002

Ports Used

PortPurpose
9002Web UI (host) — no default login; create the first admin with createuser
40+ containersOfficial self-hosted stack: web, workers, Kafka, ClickHouse, PostgreSQL, Redis
16 GB RAMMinimum — the installer warns below ~15 GB

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions