gethomepage / homepage

A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
https://gethomepage.dev
GNU General Public License v3.0
19.19k stars 1.15k forks source link

[Bug] The Portainer widget possibly might not use the env value correctly #2364

Closed ArthurMitchell42 closed 11 months ago

ArthurMitchell42 commented 11 months ago

Description

I've identified that my 5 end points are numbered 1, 50, 51, 52, 53 and 54. When I add 5 portainer services with widgets and use the values above in the env: line they all report data for environment 1 rater than the named one. image

Steps to reproduce

Setting the services.yml to the data in the description field. Although data is collected it seems to be from the first instance only.

homepage version

v0.7.4 (8ec488e, Oct 18, 2023)

Installation method

Docker

Configuration

- Portainer:
        href: https://portainer.example.com/#!/1/docker/dashboard
        ping: https://portainer.example.com/
        description: Borg
        icon: portainer.png
        widget:
           type: portainer
           url: https://10.0.10.10:9443
           env: 1
           key: ptr_apiapiapiapi
    - Portainer:
        href: https://portainer.example.com/#!/52/docker/dashboard
        ping: https://portainer.example.com/
        description: DS9
        icon: portainer.png
        widget:
           type: portainer
           url: https://10.0.10.10:9443
           env: 52
           key: ptr_apiapiapiapi

Container Logs

Nothing relavent

Browser Logs

Nothing relavent

Troubleshooting

n/a

Other

No response

Before submitting, I have made sure to

shamoon commented 11 months ago

Give the services different names

ArthurMitchell42 commented 11 months ago

Thank you, that works perfectly now.

github-actions[bot] commented 8 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.