ansible-collection-famedly-.../roles/barad-dur/README.md
Jadyn Emma Jaeger 55a2f3d6d0
feat(barad-dur): add barad-dur role
role to deploy a barad-dur docker container
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.
2021-04-26 17:02:27 +02:00

15 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`.