Mise à jour de l'orchestrateur
Some checks failed
E2E Tests / e2e (push) Failing after 2m31s

This commit is contained in:
2026-06-14 17:18:48 +02:00
parent 78e735c959
commit bf871852b8
3 changed files with 14 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ import (
// Config centralise les parametres lus depuis les variables d'env au boot.
type Config struct {
Registry string
Namespace string
Tag string
MaxSessions int
SessionTTL time.Duration
@@ -27,7 +28,12 @@ type Config struct {
func loadConfig() *Config {
return &Config{
Registry: envStr("REGISTRY", "git.igmlcreation.fr"),
// Aligne sur la nouvelle convention de publication des images
// (ghcr.io/igmlcreation/loremind-{core,brain}). L'ancien registre Gitea
// (git.igmlcreation.fr/ietm64/*) n'est plus republie : il restait gele
// sur une vieille version. Le slash final de Namespace est volontaire.
Registry: envStr("REGISTRY", "ghcr.io"),
Namespace: envStr("IMAGE_NAMESPACE", "igmlcreation/loremind-"),
Tag: envStr("TAG", "latest"),
MaxSessions: envInt("MAX_SESSIONS", 10),
SessionTTL: time.Duration(envInt("SESSION_TTL_MINUTES", 20)) * time.Minute,