Update docs/configuring-playbook-prometheus-nginxlog.md: move down the section "Docker Image Compatibility"

The section seems to be less relevant than the one for saving metrics on a Prometheus server.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2025-01-30 14:12:19 +09:00
parent a6364cc6a9
commit 7f90dda4fc
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -22,15 +22,6 @@ Add the following configuration to your `inventory/host_vars/matrix.example.com/
matrix_prometheus_nginxlog_exporter_enabled: true
```
### Docker Image Compatibility (optional)
At the moment of writing only images for `amd64` and `arm64` architectures are available. The playbook currently does not support [self-building](./self-building.md) a container image on other architectures. You can however use a custom-build image by setting:
```yaml
matrix_prometheus_nginxlog_exporter_docker_image_arch_check_enabled: false
matrix_prometheus_nginxlog_exporter_docker_image: path/to/docker/image:tag
```
### Save metrics on an external Prometheus server (optional)
> [!WARNING]
@ -46,6 +37,15 @@ Whichever way you go with, this service will expose its metrics endpoint **witho
For password-protection, use (`matrix_metrics_exposure_http_basic_auth_enabled` and `matrix_metrics_exposure_http_basic_auth_users`) or (`matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_enabled` and `matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_users`).
### Docker Image Compatibility (optional)
At the moment of writing only images for `amd64` and `arm64` architectures are available. The playbook currently does not support [self-building](./self-building.md) a container image on other architectures. You can however use a custom-build image by setting:
```yaml
matrix_prometheus_nginxlog_exporter_docker_image_arch_check_enabled: false
matrix_prometheus_nginxlog_exporter_docker_image: path/to/docker/image:tag
```
### Extending the configuration
There are some additional things you may wish to configure about the component.