forked from fediversity/fediversity
		
	Extra bit of Draupnir documentation.
This commit is contained in:
		
							parent
							
								
									321e41746c
								
							
						
					
					
						commit
						f2da1e8ed1
					
				
					 1 changed files with 23 additions and 1 deletions
				
			
		|  | @ -54,10 +54,32 @@ Copy it to `production.yaml` and change what you must. | |||
| | Option | Value | Meaning | | ||||
| | :---- | :---- | :---- | | ||||
| | `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 | | ||||
| | `password` | password | Password for the account | | ||||
| | `dataPath` | `/opt/Draupnir/datastorage` | Storage | | ||||
| | `managementRoom` | room ID | Room where moderators command Draupnir | | ||||
| 
 | ||||
| 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…
	
	Add table
		
		Reference in a new issue
	
	 Hans van Zijst
						Hans van Zijst