mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-13 12:42:29 +00:00
16 lines
633 B
Markdown
16 lines
633 B
Markdown
|
# Barad-dûr role
|
||
|
Role to set up [Barad-dûr](https://gitlab.com/famedly/services/barad-dur), a matrix phone-home stats collector running in a docker container.
|
||
|
|
||
|
## Usage
|
||
|
The database connection has to be defined in the playbook:
|
||
|
```yaml
|
||
|
barad_dur_database_user: "username"
|
||
|
barad_dur_database_password: "super_secret_password"
|
||
|
barad_dur_database_host: "serverhost"
|
||
|
barad_dur_database_name: "barad-dur"
|
||
|
```
|
||
|
The default scheme and port are set up for postgres, it can be changed with the `barad_dur_database_scheme` and `barad_dur_database_port` parameters respectively.
|
||
|
|
||
|
|
||
|
By default, all config files are placed in `/opt/barad-dur`.
|