forked from Fediversity/Fediversity
Extra bit of Draupnir documentation.
This commit is contained in:
parent
321e41746c
commit
f2da1e8ed1
|
@ -54,10 +54,32 @@ Copy it to `production.yaml` and change what you must.
|
||||||
| Option | Value | Meaning |
|
| Option | Value | Meaning |
|
||||||
| :---- | :---- | :---- |
|
| :---- | :---- | :---- |
|
||||||
| `homeserverUrl` | `http://localhost:8008` | Where to communicate with Synapse |
|
| `homeserverUrl` | `http://localhost:8008` | Where to communicate with Synapse |
|
||||||
| ` rawHomeserverUrl` | `https://vm02199.example.com` | Same as `server_name` |
|
| `rawHomeserverUrl` | `https://vm02199.example.com` | Same as `server_name` |
|
||||||
| `accessToken` | access token | Copy from login session |
|
| `accessToken` | access token | Copy from login session |
|
||||||
| `password` | password | Password for the account |
|
| `password` | password | Password for the account |
|
||||||
| `dataPath` | `/opt/Draupnir/datastorage` | Storage |
|
| `dataPath` | `/opt/Draupnir/datastorage` | Storage |
|
||||||
| `managementRoom` | room ID | Room where moderators command Draupnir |
|
| `managementRoom` | room ID | Room where moderators command Draupnir |
|
||||||
|
|
||||||
This should give a working bot.
|
This should give a working bot.
|
||||||
|
|
||||||
|
There are a few other bits that you probably want to change. Draupnir can
|
||||||
|
direct reports to the management room, this is what you should change to
|
||||||
|
activate that:
|
||||||
|
|
||||||
|
```
|
||||||
|
web:
|
||||||
|
enabled: true
|
||||||
|
port: 8082
|
||||||
|
address: ::1
|
||||||
|
abuseReporting:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
pollReports: true
|
||||||
|
displayReports: true
|
||||||
|
```
|
||||||
|
|
||||||
|
For this to work (for reports to reach Draupnir) you'll need to configure
|
||||||
|
nginx...
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue