First pass at implemenation with pagerduty webhooks
This commit is contained in:
parent
b71b8d95ff
commit
80c6fbd7bb
15 changed files with 1419 additions and 0 deletions
23
README.md
23
README.md
|
|
@ -2,8 +2,30 @@
|
|||
|
||||
a bot for ops in matrix
|
||||
|
||||
## Dev Setup
|
||||
|
||||
|
||||
`.env`:
|
||||
```
|
||||
MATRIX_HOMESERVER=https://matrix.org
|
||||
MATRIX_USER_ID=@YOURBOT:matrix.org
|
||||
MATRIX_PASSWORD="changeme"
|
||||
MATRIX_DEVICE_NAME=my-bot-server
|
||||
MATRIX_VERIFY_SSL=True
|
||||
MATRIX_STORE_PATH=/abs/path/to/persistent-store
|
||||
BOT_ROUTING_KEYS="{\"room1\": \"!XXXX:matrix.org\", \"room2\": \"!YYYYY:matrix.org\"}"
|
||||
BOT_BEARER_TOKEN="changeme"
|
||||
```
|
||||
|
||||
```
|
||||
source .env
|
||||
poetry install
|
||||
poetry run start
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
```
|
||||
matrix-ops-bot
|
||||
Copyright (C) 2022 Abel Luck <abel@guardianproject.info>
|
||||
|
||||
|
|
@ -19,3 +41,4 @@ GNU Affero General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue