fix: store 502, refresh button, rebuild UX pour modules

- GetRegistryModules: endpoint /api/v1/orgs/{org}/repos + timeout 10s
  répond toujours HTTP 200 avec {modules, error} au lieu de 502
- InstallRegistryModule: essaie branche master puis main pour module.json
- Ajouter FORGEJO_URL / FORGEJO_ORG dans docker-compose.yml
- Frontend: bouton rafraîchir store + affichage erreur
- Frontend: bannière rebuild en cours + bannière rebuild terminé
- Frontend: polling /api/health toutes les 3s après rebuild/restart

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
enzo 2026-03-22 17:03:42 +01:00
parent a61f805cd0
commit 22a5fed8cc
4 changed files with 157 additions and 39 deletions

View file

@ -36,6 +36,9 @@ services:
- GIT_BRANCH=frontend/alpine
# Tag de l'image Docker construite
- IMAGE_TAG=proxmoxpanel-backend:latest
# Registry Forgejo — surcharger si auto-hébergé ailleurs
- FORGEJO_URL=https://git.geronzi.fr
- FORGEJO_ORG=proxmoxPanel
# Pas de réseau host — le container reste isolé
# Les connexions SSH sortantes vers le host Proxmox sont autorisées via le réseau Docker
networks: