Skip to content

Commit

Permalink
chore: update config example
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtARTs36 committed May 23, 2024
1 parent e52fa6b commit 09a9c0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,9 @@ services:
- "80:8088"
volumes:
- ./sentry-notifier.yaml:/app/sentry-notifier.yaml
environment:
- SENTRY_NOTIFIER_SENTRY_CLIENT_SECRET=<your sentry client secret>
- SENTRY_NOTIFIER_TELEGRAM_CHAT_ID=<your telegram chat id>
- SENTRY_NOTIFIER_TELEGRAM_CHAT_THREAD_ID=<your telegram chat thread id>
- SENTRY_NOTIFIER_TELEGRAM_BOT_TOKEN=<your telegram bot token>
```
10 changes: 5 additions & 5 deletions sentry-notifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ http:
address: :8088

security:
client_secret: '$SENTRY_CLIENT_SECRET'
client_secret: '$SENTRY_NOTIFIER_SENTRY_CLIENT_SECRET'

channels:
my_team:
telegram:
- chat_id: '$TELEGRAM_CHAT_ID'
thread_id: '$TELEGRAM_CHAT_THREAD_ID'
bot_token: '$TELEGRAM_BOT_TOKEN'
- chat_id: '$SENTRY_NOTIFIER_TELEGRAM_CHAT_ID'
thread_id: '$SENTRY_NOTIFIER_TELEGRAM_CHAT_THREAD_ID'
bot_token: '$SENTRY_NOTIFIER_TELEGRAM_BOT_TOKEN'

notify:
strategy: async
Expand All @@ -23,5 +23,5 @@ notify:
```
{{ hook.Event.Title }}```
{{ hook.Event.WebURL }}
{{ hook.Event.IssueURL }}
to: my_team

0 comments on commit 09a9c0c

Please sign in to comment.