homepage/docs/widgets/services/portainer.md
2025-04-14 20:28:10 +01:00

888 B

title, description
title description
Portainer Portainer Widget Configuration

Learn more about Portainer.

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"].

widget:
  type: portainer
  url: https://portainer.host.or.ip:9443
  env: 1
  key: ptr_accesskeyaccesskeyaccesskeyaccesskey