For software teams, Sentry is essential for monitoring application code health. From Error tracking to Performance monitoring, developers can see clearer, solve quicker, and learn continuously about their applications - from frontend to backend. Loved by over 1 million developers and 70,000 organizations worldwide, Sentry provides code-level observability to many of the world's best-known companies like Disney, Peloton, Cloudflare, Eventbrite, Slack, Supercell, and Rockstar Games.
of course sentry can be accessible online from https://sentry.io or through hamravesh with https://sentry.hamravesh.com but sometimes you need to have it locally for testing purposes.
in order to run and use sentry with docker-compose all you have to do is to run the command bellow in the same directory of docker-compose.yml file.
docker-compose up --build
wait till its done, then run the command bellow to setup database and tables, plus creating a new user:
docker-compose run --rm sentry-base upgrade
it should be starting to migrate like the image bellow:
Note: in the process you will be asked to create a new user for login then add a new one by providing email and password.
then open the url below and continue your setup till you reach the dashboard.
if this is not your first setup and you have already created the database and migrated, all you have to do is to just run the docker-compose file:
# for starting again
docker-compose up
# or for restarting
docker-compose restart
# or for stopping
docker-compose stop
# or for removing service
docker-compose down
based on the situation you want you can pick one, and execute.
MIT.
Feel free to let me know if something needs to be fixed. or even any features seems to be needed in this repo.