Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

cloudnativedaysjp/self-hosted-sentry

Repository files navigation

Self-Hosted Sentry for CloudNativeDays

How to set up

If you are building a separate Redis machine, bu sure to build then in order, starting w/ Redis.

Redis VM

Clone the repo and run docker compose up -d in your redis/.

cd redis; docker compose up -d

Sentry VM

Clone the repo and run ./install.sh in your local check-out.

./install.sh

Then, modify connection settings.

relay/config.yml

- redis: redis:redis:6379
+ redis: redis://192.168.0.201:6379

sentry.conf.yml

- SENTRY_OPTIONS["redis.clusters"] = {
-     "default": {
-         "hosts": {0: {"host": "redis", "password": "", "port": "6379", "db": "0"}}
-     }
- }
+ SENTRY_OPTIONS["redis.clusters"] = {
+     "default": {
+         "hosts": {0: {"host": "192.168.0.201", "password": "", "port": "6379", "db": "0"}}
+     }
+ }

Run ./install.sh again.

./install.sh

It's OK, if the following log is output.

-----------------------------------------------------------------

You're all done! Run the following command to get Sentry running:

  docker compose up -d

-----------------------------------------------------------------

Run docker compose up -d in your local check-out.

docker compose up -d

Reference

About

Self hosted Sentry for CloudNative Days

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published