File tree 4 files changed +67
-1
lines changed
4 files changed +67
-1
lines changed Original file line number Diff line number Diff line change
1
+ SENTRY_SECRET_KEY=your-secret-key
2
+ SENTRY_DB_NAME=sentry_db
3
+ SENTRY_DB_USER=sentry_user
4
+ SENTRY_DB_PASSWORD=your_password
5
+ SENTRY_REDIS_HOST=localhost
6
+ SENTRY_REDIS_PORT=6379
7
+ SENTRY_KAFKA_BROKER=localhost:9092
8
+ SENTRY_CLICKHOUSE_HOST=localhost
9
+ SENTRY_CLICKHOUSE_PORT=8123
Original file line number Diff line number Diff line change 1
- # sentry self-hosted as nixos Config
1
+ # ** [ Dev version not fully working yet] **
2
+ ## sentry self-hosted as nixos Config
2
3
[ ![ helpwave] ( https://github.com/helpwave/wg-manager/blob/feecc7b2753fb7e29eace484555e84bf788e4ae4/helpwave.png )] ( https://www.helpwave.de/ ) \
3
4
A nixos config that automatically intalirtes, configures and runs self hosted xon sentry in nixos
4
5
<br >Created by [ @helpwave ] ( https://github.com/helpwave )
Original file line number Diff line number Diff line change
1
+ ## 1. Configuration und renaming:
2
+ ```
3
+ .env.EXEMPLAR >rename> .env
4
+ sentry.conf.py.EXEMPLAR >rename> sentry.conf.py
5
+ ```
6
+
7
+ ## 2. Über prüfen ob alle dinste laufen:
8
+ ```
9
+ systemctl status postgresql
10
+ systemctl status redis
11
+ systemctl status zookeeper
12
+ systemctl status kafka
13
+ systemctl status clickhouse
14
+ systemctl status sentry
15
+ systemctl status symbolicator
16
+ systemctl status snuba
17
+ systemctl status relay
18
+ ```
19
+
20
+
21
+
Original file line number Diff line number Diff line change
1
+ DATABASES = {
2
+ 'default': {
3
+ 'ENGINE': 'sentry.db.postgres',
4
+ 'NAME': 'sentry_db',
5
+ 'USER': 'sentry_user',
6
+ 'PASSWORD': 'your_password',
7
+ 'HOST': 'localhost',
8
+ 'PORT': '',
9
+ }
10
+ }
11
+
12
+ REDIS_OPTIONS = {
13
+ 'hosts': {
14
+ 0: {
15
+ 'host': 'localhost',
16
+ 'port': 6379,
17
+ }
18
+ }
19
+ }
20
+
21
+ KAFKA_CLUSTERS = {
22
+ 'default': {
23
+ 'bootstrap.servers': 'localhost:9092',
24
+ }
25
+ }
26
+
27
+ SNUBA = {
28
+ 'hosts': ['localhost:1218'],
29
+ }
30
+
31
+ SYMBOLICATOR_OPTIONS = {
32
+ 'url': 'http://localhost:3021',
33
+ }
34
+
35
+ SENTRY_RELAY_WHITELIST_URLS = ['localhost']
You can’t perform that action at this time.
0 commit comments