README.md aktualisiert

This commit is contained in:
olli 2023-08-24 17:38:37 +02:00
parent 03b7532c2f
commit a5d654abcc

View File

@ -17,11 +17,13 @@ cat /home/docker/matrix.$(hostname)/env
``` ```
Create a new user with Create a new user with
``` ```
docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml exec -ti matrix.defiant.dedyn.io register_new_matrix_user -c /data/homeserver.yaml --no-admin http://localhost:8008 docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml exec -ti matrix.defiant.dedyn.io--synapse register_new_matrix_user -c /data/homeserver.yaml --no-admin http://localhost:8008
``` ```
List users List users
. /home/docker/matrix.$(hostname)/env ; docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml exec -ti matrix.defiant.dedyn.io--db psql -U $POSTGRES_USER -d synapse -c "SELECT name from users" ```
. /home/docker/matrix.$(hostname)/env
docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml exec -ti matrix.defiant.dedyn.io--db psql -U $POSTGRES_USER -d synapse -c "SELECT name from users"
```
# Debugging # Debugging
https://federationtester.matrix.org https://federationtester.matrix.org