{"id":16430188,"url":"https://github.com/its-alex/sentry-docker-example","last_synced_at":"2026-05-05T14:32:03.333Z","repository":{"id":50771851,"uuid":"137771219","full_name":"Its-Alex/sentry-docker-example","owner":"Its-Alex","description":"Sentry docker-compose example v9","archived":false,"fork":false,"pushed_at":"2021-05-30T10:12:58.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T17:48:21.705Z","etag":null,"topics":["docker","docker-compose","makefile","sentry","v9"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Its-Alex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-18T15:36:17.000Z","updated_at":"2021-05-30T10:13:00.000Z","dependencies_parsed_at":"2022-09-11T10:04:13.724Z","dependency_job_id":null,"html_url":"https://github.com/Its-Alex/sentry-docker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Its-Alex/sentry-docker-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fsentry-docker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fsentry-docker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fsentry-docker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fsentry-docker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-Alex","download_url":"https://codeload.github.com/Its-Alex/sentry-docker-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fsentry-docker-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","makefile","sentry","v9"],"created_at":"2024-10-11T08:25:59.482Z","updated_at":"2026-05-05T14:32:03.316Z","avatar_url":"https://github.com/Its-Alex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry playground\n\nThis playground use `vagrant` and `virtualbox` to run and play with a sentry\ndeployed on a VM.\n\n## Requirement\n\n- `asdf`\n- `virtualbox`\n\nWe use `asdf` to install dependencies:\n\n```\n$ asdf plugin-add vagrant https://github.com/asdf-community/asdf-hashicorp.git\n$ asdf install\n```\n\nSome plugins are required with vagrant:\n\n```\n$ vagrant plugin install vagrant-hostmanager --plugin-version 1.8.9\n```\n\n- [Sentry playground](#sentry-playground)\n  - [Requirement](#requirement)\n  - [Get started](#get-started)\n  - [Scripts](#scripts)\n    - [Setup / Destroy](#setup--destroy)\n    - [Create user](#create-user)\n    - [Import postgres dump](#import-postgres-dump)\n    - [Get default sentry DSN](#get-default-sentry-dsn)\n\n## Get started\n\nFirst you must start VM and play with scripts:\n\n```\n$ mkdir -p \"${PWD}/sentry-onpremise\"\n$ vagrant up\nBringing machine 'sentry' up with 'virtualbox' provider...\n==\u003e sentry: Importing base box 'ubuntu/bionic64'...\n==\u003e sentry: Matching MAC address for NAT networking...\n==\u003e sentry: Checking if box 'ubuntu/bionic64' version '20210415.0.0' is up to date...\n==\u003e sentry: Setting the name of the VM: sentry-docker-example_sentry_1620037991329_84550\n==\u003e sentry: Clearing any previously set network interfaces...\n==\u003e sentry: Preparing network interfaces based on configuration...\n    sentry: Adapter 1: nat\n    sentry: Adapter 2: hostonly\n==\u003e sentry: Forwarding ports...\n    sentry: 22 (guest) =\u003e 2222 (host) (adapter 1)\n==\u003e sentry: Running 'pre-boot' VM customizations...\n==\u003e sentry: Booting VM...\n==\u003e sentry: Waiting for machine to boot. This may take a few minutes...\n    sentry: SSH address: 127.0.0.1:2222\n    sentry: SSH username: vagrant\n    sentry: SSH auth method: private key\n...\n$ vagrant ssh\n$ sudo su\n```\n\nThen you can go setup and install sentry:\n\n```\n# cd /srv/sentry/scripts/\n# ./setup_sentry.sh\n# ./install_sentry.sh\n▶ Parsing command line ...\n\n▶ Setting up error handling ...\n\n▶ Checking minimum requirements ...\n...\nCreating sentry_onpremise_snuba-cleanup_1                            ... done\nStarting sentry_onpremise_snuba-replacer_1                           ... done\nCreating sentry_onpremise_snuba-transactions-cleanup_1               ... done\nStarting sentry_onpremise_snuba-sessions-consumer_1                  ... done\nStarting sentry_onpremise_snuba-subscription-consumer-events_1       ... done\nCreating sentry_onpremise_relay_1                                    ... done\nStarting sentry_onpremise_snuba-transactions-consumer_1              ... done\nStarting sentry_onpremise_snuba-outcomes-consumer_1                  ... done\nStarting sentry_onpremise_snuba-api_1                                ... done\nCreating sentry_onpremise_ingest-consumer_1                          ... done\nCreating sentry_onpremise_post-process-forwarder_1                   ... done\nCreating sentry_onpremise_web_1                                      ... done\nCreating sentry_onpremise_subscription-consumer-events_1             ... done\nCreating sentry_onpremise_cron_1                                     ... done\nCreating sentry_onpremise_worker_1                                   ... done\nCreating sentry_onpremise_sentry-cleanup_1                           ... done\nCreating sentry_onpremise_subscription-consumer-transactions_1       ... done\nCreating sentry_onpremise_nginx_1                                    ... done\n```\n\nSentry is ready to accept connection on http://local.sentry.fr.\n\n## Scripts\n\nAll following scripts must be launch in VM from `/srv/sentry/scripts`.\n\n### Setup / Destroy\n\nThere is two different script two different scripts to install sentry:\n\n- [`setup_sentry.sh`](/scripts/setup_sentry.sh) is to initialize sentry git\n  and dependencies\n- [`install_sentry.sh`](/scripts/install_sentry.sh) simply launch the sentry\n  `install.sh` script and then launch containers\n\nYou can clean all sentry installation with `down.sh`\n\n### Create user\n\nYou can create an admin user with [`create-user.sh`](/scripts/create-user.sh):\n\n- Username: `admin@example.com`\n- Password: `password`\n\n### Import postgres dump\n\nYou can import a dump from another sentry postgres database. It's recommended\nto do it **before** installing sentry.\n\nYou must place and rename your dump in `/scripts/dump/dump.sql`.\n\nThen connect to VM and launch [`import-sql-dump.sh`](/scripts/import-sql-dump.sh).\n\n### Get default sentry DSN\n\nYou can get the default created sentry dsn for test.\n\nThen connect to VM and launch [`display-sentry-dsn.sh`](/scripts/display-sentry-dsn.sh).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fsentry-docker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-alex%2Fsentry-docker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fsentry-docker-example/lists"}