Skip to content
Snippets Groups Projects
Unverified Commit 50d12957 authored by Tulir Asokan's avatar Tulir Asokan :cat2: Committed by GitHub
Browse files

Update README

Fixes #16
parent 871a9728
No related branches found
No related tags found
No related merge requests found
Maunium GitLab bot
==================
A Gitlab bot for Matrix. It uses
[mautrix](https://github.com/tulir/mautrix),
[mautrix](https://github.com/tulir/mautrix-go/tree/legacy),
[go-playground webhooks](https://github.com/go-playground/webhooks) and
[go-gitlab](https://github.com/xanzy/go-gitlab)
......@@ -30,9 +30,18 @@ Matrix room: [#maulabbot:maunium.net](https://matrix.to/#/#maulabbot:maunium.net
* [ ] Shorter commands
## Usage
Configure the server by copying `example-config.json` to `config.json` and
Configure the bot by copying `example-config.json` to `config.json` and
filling out the fields.
### Docker
0. Create a directory for the bot and cd into it.
1. Pull the docker image with `docker pull docker.io/maubot/gitlab:latest`.
2. Make a config file as described above
3. Run the bot:
```
docker run --restart unless-stopped -v `pwd`:/etc/maulabbot:z docker.io/maubot/gitlab:latest
```
### Webhooks
When adding a GitLab webhook, add the internal room ID as a query string in the
field `room`. For example, if the address + path is `https://example.com/webhook`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment