git clone https://github.com/RocketChat/homeserver ../homeserver
docker compose up --build
docker exec -it hs1 register_new_matrix_user -u admin -p admin --admin http://localhost:8008 -c /data/homeserver.yaml
docker exec -it hs2 register_new_matrix_user -u admin -p admin --admin http://localhost:8008 -c /data/homeserver.yaml
sudo tee -a /etc/hosts <<EOF
127.0.0.1 hs1
127.0.0.1 hs2
127.0.0.1 rc1
EOF
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain traefik/certs/ca/rootCA.crt
Source: https://dkm10.hashnode.dev/install-certificates-on-wsl2
/usr/local/share/ca-certificates
sudo update-ca-certificates
Go to http://localhost:8080