Skip to content

Conversation

@federicociro
Copy link

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
Copy link
Owner

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

@PReimers
Copy link

Hello @federicociro

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

@xperimental, what do you think about that?

@thiswillbeyourgithub
Copy link

If I may:

  • some security enhancements:
    user: "1000"
    ports:
      - "127.0.0.1:9205:9205"
    security_opt:
      - no-new-privileges:true

  
  • example env value:
    environment:
      - NEXTCLOUD_SERVER=
      - NEXTCLOUD_USERNAME=
      - NEXTCLOUD_PASSWORD=
      - NEXTCLOUD_AUTH_TOKEN=
      - NEXTCLOUD_LISTEN_ADDRESS=
      - NEXTCLOUD_TIMEOUT=
      - NEXTCLOUD_TLS_SKIP_VERIFY=
      - NEXTCLOUD_INFO_APPS=
      - NEXTCLOUD_INFO_UPDATE=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants