Compare commits

..

No commits in common. "61f7f8ff50e32c1b296347e80c554e355ee73e2d" and "50d1a8558e407664e3551a6e144c7b0417e56176" have entirely different histories.

View File

@ -61,16 +61,16 @@ You can now:
.. and then proceed to starting all services: .. and then proceed to starting all services:
```sh ```sh
ansible-playbook -i inventory/hosts setup.yml --tags=ensure-matrix-users-created,start ansible-playbook -i inventory/hosts setup.yml --tags=start
``` ```
## Finalize the installation ## Finalize the installation
Now that services are running, you need to **finalize the installation process** (required for federation to work!) by [Configuring Service Discovery via .well-known](configuring-well-known.md). Now that services are running, you need to **finalize the installation process** (required for federation to work!) by [Configuring Service Discovery via .well-known](configuring-well-known.md).
If you need the base domain (`example.com`) for anything else such as hosting a website, you have to configure it manually, following the procedure described on the linked documentation. If you need the base domain for anything else (such as hosting a website), you have to configure it manually, following the procedure described on the linked documentation.
However, if you do not need the base domain for anything else, the easiest way of configuring it is to [serve the base domain](configuring-playbook-base-domain-serving.md) from the integrated web server. It will enable you to use a Matrix user identifier like `@<username>:example.com` while hosting services on a subdomain like `matrix.example.com`. However, if you do not need the base domain (`example.com`) for anything else, the easiest way of configuring it is to [serve the base domain](configuring-playbook-base-domain-serving.md) from the integrated web server. It will enable you to use a Matrix user identifier like `@<username>:example.com` while hosting services on a subdomain like `matrix.example.com`.
To configure Service Discovery in this way, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file: To configure Service Discovery in this way, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
@ -78,11 +78,7 @@ To configure Service Discovery in this way, add the following configuration to y
matrix_static_files_container_labels_base_domain_enabled: true matrix_static_files_container_labels_base_domain_enabled: true
``` ```
After configuring the playbook, run the installation command: After configuring the playbook, run the [installation](installing.md) command: `just install-all` or `just setup-all`
```sh
ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start
```
## Things to do next ## Things to do next