Skip to content

Commit da0c9a0

Browse files
committed
fix: covered version
1 parent f7b21d2 commit da0c9a0

File tree

4 files changed

+67
-1
lines changed

4 files changed

+67
-1
lines changed

.env.EXEMPLAR

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# sentry self-hosted as nixos Config
1+
# **[Dev version not fully working yet]**
2+
## sentry self-hosted as nixos Config
23
[![helpwave](https://github.com/helpwave/wg-manager/blob/feecc7b2753fb7e29eace484555e84bf788e4ae4/helpwave.png)](https://www.helpwave.de/) \
34
A nixos config that automatically intalirtes, configures and runs self hosted xon sentry in nixos
45
<br>Created by [@helpwave](https://github.com/helpwave)

developer to do.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+

sentry.conf.py.EXEMPLAR

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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']

0 commit comments

Comments
 (0)