소스 검색

Update documentation for Cinny and Hydrogen

Add "DNS", "Adjusting the playbook configuration", and "Installing" sections

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3597/head
Suguru Hirahara 1 년 전
부모
커밋
913675c0a2
No known key found for this signature in database GPG 키 ID: E4F9743DAB4B7B75
2개의 변경된 파일30개의 추가작업 그리고 14개의 파일을 삭제
  1. +15
    -7
      docs/configuring-playbook-client-cinny.md
  2. +15
    -7
      docs/configuring-playbook-client-hydrogen.md

+ 15
- 7
docs/configuring-playbook-client-cinny.md 파일 보기

@@ -4,18 +4,26 @@ This playbook can install the [cinny](https://github.com/ajbura/cinny) Matrix we
Cinny is a web client focusing primarily on simple, elegant and secure interface.
Cinny can be installed alongside or instead of Element.

If you'd like Cinny to be installed, add the following to your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`):
## DNS

```yaml
matrix_client_cinny_enabled: true
```

You will also need to add a DNS record so that Cinny can be accessed.
You need to add a `cinny.DOMAIN` DNS record so that Cinny can be accessed.
By default Cinny will use https://cinny.DOMAIN so you will need to create an CNAME record
for `cinny`. See [Configuring DNS](configuring-dns.md).

If you would like to use a different domain, add the following to your configuration file (changing it to use your preferred domain):
If you would like to use a different domain, add the following configuration to your `inventory/host_vars/matrix.DOMAIN/vars.yml` file (changing it to use your preferred domain):

```yaml
matrix_server_fqn_cinny: "app.{{ matrix_domain }}"
```

## Adjusting the playbook configuration

To enable Cinny, add the following configuration to your `inventory/host_vars/matrix.DOMAIN/vars.yml` file:

```yaml
matrix_client_cinny_enabled: true
```

## Installing

After configuring the playbook, run the [installation](installing.md) command: `just install-all` or `just setup-all`

+ 15
- 7
docs/configuring-playbook-client-hydrogen.md 파일 보기

@@ -4,18 +4,26 @@ This playbook can install the [Hydrogen](https://github.com/element-hq/hydrogen-
Hydrogen is a lightweight web client that supports mobile and legacy web browsers.
Hydrogen can be installed alongside or instead of Element.

If you'd like Hydrogen to be installed, add the following to your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`):
## DNS

```yaml
matrix_client_hydrogen_enabled: true
```

You will also need to add a DNS record so that Hydrogen can be accessed.
You need to add a `hydrogen.DOMAIN` DNS record so that Hydrogen can be accessed.
By default Hydrogen will use https://hydrogen.DOMAIN so you will need to create an CNAME record
for `hydrogen`. See [Configuring DNS](configuring-dns.md).

If you would like to use a different domain, add the following to your configuration file (changing it to use your preferred domain):
If you would like to use a different domain, add the following configuration to your `inventory/host_vars/matrix.DOMAIN/vars.yml` file (changing it to use your preferred domain):

```yaml
matrix_server_fqn_hydrogen: "helium.{{ matrix_domain }}"
```

## Adjusting the playbook configuration

To enable Hydrogen, add the following configuration to your `inventory/host_vars/matrix.DOMAIN/vars.yml` file:

```yaml
matrix_client_hydrogen_enabled: true
```

## Installing

After configuring the playbook, run the [installation](installing.md) command: `just install-all` or `just setup-all`

불러오는 중...
취소
저장