update readme

master v0.2
lub 5 years ago
parent 309e4b5dbf
commit 7b99ba0d2b

@ -15,7 +15,7 @@ Just kick them, when you don't want to receive updates anymore.
[World of Warcraft](https://matrix.to/#/@khadgar:imninja.net)
## Configuration
First create all users you want to use. All usernames must be `MXID_PREFIX+<game>` (e.g. `snowstorm_worldofwarcraft`). `MXID_PREFIX` is by default `snowstorm_`
First create all users you want to use.
Next you have to create a new room you can use as admin room. You have to specify the room id of that room later. Invite all bot users to that room.
Additionally you have to allow every user to post to the cache state:
@ -40,7 +40,19 @@ docker run --rm \
Or via docker-compose/swarm:
```yaml
snowstorm-matrix:
snowstorm-matrix_overwatch:
image: snowstorm-matrix
deploy:
replicas: 1
secrets:
- snowstorm-matrix_overwatch
environment:
- HOMESERVER=http://synapse:8008
- ACCESSTOKEN_FILE=/run/secrets/snowstorm-matrix_overwatch
- MXID=@bastionrulez:example.com
- ADMIN_ROOM=!jjpPluoxZoAOBQeYer:example.org
- CATEGORY=overwatch
snowstorm-matrix_worldofwarcraft:
image: snowstorm-matrix
deploy:
replicas: 1

Loading…
Cancel
Save