basic installation
This commit is contained in:
parent
bf71011899
commit
4acd662bb7
23
README.md
23
README.md
@ -2,3 +2,26 @@
|
|||||||
- debian.ansible.basics
|
- debian.ansible.basics
|
||||||
- debian.ansible.docker
|
- debian.ansible.docker
|
||||||
- debian.ansible.traefik.server
|
- debian.ansible.traefik.server
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
´´´
|
||||||
|
ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) matrix.yml
|
||||||
|
´´´
|
||||||
|
|
||||||
|
# User Administration
|
||||||
|
Admin User is created while installation.
|
||||||
|
Username: mx-admin
|
||||||
|
Password can be found with
|
||||||
|
´´´
|
||||||
|
cat /home/docker/matrix.$(hostname)/env
|
||||||
|
´´´
|
||||||
|
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
|
||||||
|
´´´
|
||||||
|
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"
|
||||||
|
|
||||||
|
|
||||||
|
# Debugging
|
||||||
|
https://federationtester.matrix.org
|
||||||
|
Loading…
Reference in New Issue
Block a user