update the docs

This commit is contained in:
Karl Hudgell 2025-04-14 20:28:10 +01:00
parent 926d3d5103
commit 5d168b0068

View File

@ -5,7 +5,10 @@ description: Portainer Widget Configuration
Learn more about [Portainer](https://github.com/portainer/portainer). Learn more about [Portainer](https://github.com/portainer/portainer).
You'll need to make sure you have the correct environment set for the integration to work properly. From the Environments section inside of Portainer, click the one you'd like to connect to and observe the ID at the end of the URL (should be), something like `#!/endpoints/1`, here `1` is the value to set as the `env` value. In order to generate an API key, please follow the steps outlined here https://docs.portainer.io/api/access. If you do not include the `env` key, this will work out the combined values of all connected containers on all environments.
If you want to only show a specific environment, set the value of your environment in the yaml. From the Environments section inside of Portainer, click the one you'd like to connect to and observe the ID at the end of the URL (should be), something like `#!/endpoints/1`, here `1` is the value to set as the `env` value. In order to generate an API key, please follow the steps outlined here https://docs.portainer.io/api/access.
Allowed fields: `["running", "stopped", "total"]`. Allowed fields: `["running", "stopped", "total"]`.