add widget https://gethomepage.dev/ #176
Replies: 5 comments 2 replies
-
|
Ciao @Itstommy10! Ottima idea. Cosa abbiamo aggiuntoIn v1.4.5 abbiamo esteso l'endpoint {
"containers": {
"total": 14,
"running": 12,
"stopped": 2,
"updatesAvailable": 6
},
"security": {
"issues": 0
}
}Questo è esattamente il dato che serve per un widget Homepage. Workaround per ora (Homepage customapi)Finché non creiamo un widget nativo nel progetto Homepage, puoi usare il widget - Drydock:
icon: mdi-docker
href: http://drydock:3000
widget:
type: customapi
url: http://drydock:3000/api/v1/containers/summary
username: admin
password: la-tua-password
mappings:
- field: containers.total
label: Monitorati
- field: containers.updatesAvailable
label: AggiornamentiRichiede che l'autenticazione Basic sia configurata su Drydock ( Widget nativo HomepagePer un widget nativo (come quello di WUD), serve una PR al progetto gethomepage/homepage. L'endpoint |
Beta Was this translation helpful? Give feedback.
-
|
Yes please! |
Beta Was this translation helpful? Give feedback.
-
|
We've opened the feature request on the Homepage project: gethomepage/homepage#6440 Homepage requires at least 20 upvotes on the discussion before they'll accept a widget PR. If you want the native widget, please 👍 the discussion! Abbiamo aperto la feature request sul progetto Homepage: gethomepage/homepage#6440 Homepage richiede almeno 20 upvote prima di accettare un widget PR. Se volete il widget nativo, mettete un 👍 sulla discussione! |
Beta Was this translation helpful? Give feedback.
-
|
Grazie @s-b-e-n-s-o-n per la soluzione |
Beta Was this translation helpful? Give feedback.
-
|
ciao @s-b-e-n-s-o-n so che è un problema che non centra assolutamente niente con drydock. ma ho un problema con homepage magari tu ne sai piu di me Stato di Syncthing DesktopFrancescaSync:
nella risposta di chrome ottengo anche tramite postman con curl: ottengo: il widget sembra apparire per pochissimi millisecondi e poi scomparire |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ciao @s-b-e-n-s-o-n riusciresti ad aggiungere su https://gethomepage.dev/ un widget ad hoc per drydock?
tipo come quello
`
What's Up Docker
Learn more about What's Up Docker.
Allowed fields: ["monitoring", "updates"].
widget:
type: whatsupdocker
url: http://whatsupdocker:port
username: username # optional
password: password # optionalWhat's Up Docker
Learn more about What's Up Docker.
Allowed fields: ["monitoring", "updates"].
widget:
type: whatsupdocker
url: http://whatsupdocker:port
username: username # optional
password: password # optional
`
attulamente è presente what'up my docker, ma è basato su endpoint e auth diversi da quelli impostati dalla V1.3 in poi di drydock e non funziona piu
Beta Was this translation helpful? Give feedback.
All reactions