diff options
author | andreever <52261463+andreever@users.noreply.github.com> | 2022-07-15 17:33:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 16:33:05 +0100 |
commit | 4ff57993abc7066c52d979617a81af45629dd611 (patch) | |
tree | 0c94db71107b352b0d6231d8e25b3171d1cc2ba8 | |
parent | 90bf01d8b107375d45aee9de79c1760a0363b189 (diff) |
Update 1_createusers.md (#2571)
* Update 1_createusers.md
Added description on how to create user accounts when running in docker.
* Update 1_createusers.md
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
-rw-r--r-- | docs/administration/1_createusers.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/administration/1_createusers.md b/docs/administration/1_createusers.md index f40b7f57..61ec2299 100644 --- a/docs/administration/1_createusers.md +++ b/docs/administration/1_createusers.md @@ -32,6 +32,15 @@ To create a new **admin account**, add the `-admin` flag: ./bin/create-account -config /path/to/dendrite.yaml -username USERNAME -admin ``` +An example of using `create-account` when running in **Docker**, having found the `CONTAINERNAME` from `docker ps`: + +```bash +docker exec -it CONTAINERNAME /usr/bin/create-account -config /path/to/dendrite.yaml -username USERNAME +``` +```bash +docker exec -it CONTAINERNAME /usr/bin/create-account -config /path/to/dendrite.yaml -username USERNAME -admin +``` + ## Using shared secret registration Dendrite supports the Synapse-compatible shared secret registration endpoint. |