xperimental / nextcloud-exporter

Prometheus exporter for Nextcloud servers.
MIT License
226 stars 34 forks source link

Add Docker-Compose and .env-example for Nextcloud Exporter #99

Open federicociro opened 1 year ago

federicociro commented 1 year ago

This pull request introduces a docker-compose.yml and .env-example file to simplify and optimize the deployment of the Nextcloud Exporter.

Changes:

  1. Added docker-compose.yml: This file includes configuration for the ghcr.io/xperimental/nextcloud-exporter image. It's set to restart automatically and has port 9205 exposed.

  2. Added .env-example: An example environment file that can be renamed to .env and filled in with appropriate values.

How to Test:

Rename .env-example to .env and populate it with your Nextcloud server details and authentication token. Run docker-compose up -d to start the service in detached mode.

Please review the changes and let me know if anything needs to be adjusted.

KR, Federico.

xperimental commented 1 year ago

@federicociro Sorry for the lack of response. I did not get to looking at this yet.

PReimers commented 5 months ago

Hello @federicociro

It looks like something better fitting into the documentation or an examples/docker-compose directory.

@xperimental, what do you think about that?