{"id":18624897,"url":"https://github.com/rhzs/sentry-cassandra-docker","last_synced_at":"2026-04-20T05:33:56.836Z","repository":{"id":91124693,"uuid":"145739607","full_name":"rhzs/sentry-cassandra-docker","owner":"rhzs","description":"Sentry with Cassandra ScyllaDB as Nodestorage in docker","archived":false,"fork":false,"pushed_at":"2018-08-22T17:23:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T07:08:07.240Z","etag":null,"topics":["cassandra","docker","scylladb","sentry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhzs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-22T17:12:18.000Z","updated_at":"2018-08-23T10:28:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6e3b750-f8c0-48cb-aed3-3af4631ab861","html_url":"https://github.com/rhzs/sentry-cassandra-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhzs/sentry-cassandra-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhzs%2Fsentry-cassandra-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhzs%2Fsentry-cassandra-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhzs%2Fsentry-cassandra-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhzs%2Fsentry-cassandra-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhzs","download_url":"https://codeload.github.com/rhzs/sentry-cassandra-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhzs%2Fsentry-cassandra-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32034686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cassandra","docker","scylladb","sentry"],"created_at":"2024-11-07T04:31:50.361Z","updated_at":"2026-04-20T05:33:56.818Z","avatar_url":"https://github.com/rhzs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry On-Premise with Cassandra / Scylla DB\n\nOriginally from this repo [Sentry onpremise](https://github.com/getsentry/onpremise.git).\n\n## Requirements\n\n * Docker 1.10.0+\n * Compose 1.6.0+ _(optional)_\n\n## Up and Running\n\nAssuming you've just cloned this repository, the following steps\nwill get you up and running in no time!\n\nThere may need to be modifications to the included `docker-compose.yml` file to accommodate your needs or your environment. These instructions are a guideline for what you should generally do.\n\n1. `mkdir -p data/{sentry,postgres}` - Make our local database and sentry config directories.\n    This directory is bind-mounted with postgres so you don't lose state!\n2. `docker-compose build` - Build and tag the Docker services\n3. `docker-compose run --rm web config generate-secret-key` - Generate a secret key.\n    Add it to `docker-compose.yml` in `base` as `SENTRY_SECRET_KEY`.\n4. `docker-compose run --rm web upgrade` - Build the database.\n    Use the interactive prompts to create a user account.\n5. `docker-compose up -d` - Lift all services (detached/background mode).\n6. Run `docker exec -it  sentry-onpremise_cassandra_1 cqlsh`.\n7. Add and execute Cassandra keyspace and table.\n```shell\nCREATE KEYSPACE sentry WITH replication = {\n  'class': 'SimpleStrategy',\n  'replication_factor': '2'\n};\n\nUSE sentry;\n\nCREATE TABLE nodestore (\n  key text PRIMARY KEY,\n  flags int,\n  value blob\n) WITH\n  compaction={'sstable_size_in_mb': '160', 'class': 'LeveledCompactionStrategy'} AND\n  compression={'sstable_compression': 'SnappyCompressor'};\n```\n8. Access your instance at `localhost:9000`!\n\nNote that as long as you have your database bind-mounted, you should\nbe fine stopping and removing the containers without worry.\n\n## Securing Sentry with SSL/TLS\n\nIf you'd like to protect your Sentry install with SSL/TLS, there are\nfantastic SSL/TLS proxies like [HAProxy](http://www.haproxy.org/)\nand [Nginx](http://nginx.org/).\n\n## Updating Sentry\n\nUpdating Sentry using Compose is relatively simple. Just use the following steps to update. Make sure that you have the latest version set in your Dockerfile. Or use the latest version of this repository.\n\nUse the following steps after updating this repository or your Dockerfile:\n```sh\ndocker-compose build # Build the services again after updating\ndocker-compose run --rm web upgrade # Run new migrations\ndocker-compose up -d # Recreate the services\n```\n\n## Resources\n\n * [Documentation](https://docs.sentry.io/server/installation/docker/)\n * [Bug Tracker](https://github.com/getsentry/onpremise)\n * [Forums](https://forum.sentry.io/c/on-premise)\n * [IRC](irc://chat.freenode.net/sentry) (chat.freenode.net, #sentry)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhzs%2Fsentry-cassandra-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhzs%2Fsentry-cassandra-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhzs%2Fsentry-cassandra-docker/lists"}