From 7b99ba0d2bd4df2b4cc3e945fddd478e2bff062d Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 10 May 2020 21:49:03 +0200 Subject: [PATCH] update readme --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e23efe0..065f942 100644 --- a/README.md +++ b/README.md @@ -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+` (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