fix(deployment): port 8088 to avoid qbittorrent conflict, connect hermes-hub to dsh_vps_net, route to dsh-vps-filebrowser:8080
This commit is contained in:
+5
-7
@@ -25,7 +25,7 @@ class UniverseConfig(BaseModel):
|
||||
|
||||
class Settings(BaseSettings):
|
||||
app_name: str = "Hermes Hub"
|
||||
host: str = "127.0.0.1" # Bind loopback by default
|
||||
host: str = "0.0.0.0"
|
||||
port: int = 8080
|
||||
debug: bool = False
|
||||
|
||||
@@ -37,8 +37,8 @@ class Settings(BaseSettings):
|
||||
hermes_tt_url: str = os.getenv("HERMES_TT_URL", "http://100.86.197.88:3010")
|
||||
hermes_nyora_url: str = os.getenv("HERMES_NYORA_URL", "http://100.86.197.88:3020")
|
||||
hermes_perso_url: str = os.getenv("HERMES_PERSO_URL", "http://100.86.197.88:3031")
|
||||
hermes_nabil_url: str = os.getenv("HERMES_NABIL_URL", "http://127.0.0.1:8642")
|
||||
dsh_filebrowser_url: str = os.getenv("DSH_FILEBROWSER_URL", "http://127.0.0.1:8901")
|
||||
hermes_nabil_url: str = os.getenv("HERMES_NABIL_URL", "http://hermes-nabil:9119")
|
||||
dsh_filebrowser_url: str = os.getenv("DSH_FILEBROWSER_URL", "http://dsh-vps-filebrowser:8080")
|
||||
|
||||
# Hub Secret — OBLIGATOIRE, aucun fallback codé en dur (Fail-Fast au démarrage)
|
||||
hub_secret: str = Field(..., min_length=16, description="Clé secrète maîtresse requise pour Hermes Hub")
|
||||
@@ -57,8 +57,6 @@ class Settings(BaseSettings):
|
||||
try:
|
||||
settings = Settings()
|
||||
except Exception as e:
|
||||
# If starting in an environment without .env yet, define placeholder for type checking
|
||||
# but runtime will fail fast if HUB_SECRET is absent
|
||||
if "HUB_SECRET" in os.environ:
|
||||
raise e
|
||||
settings = None
|
||||
@@ -105,13 +103,13 @@ UNIVERSES: Dict[str, UniverseConfig] = {
|
||||
name="Nabil Master",
|
||||
tagline="Orchestration & DSH",
|
||||
description="Master Agent VPS, exécution de code & DeepSeek Harness",
|
||||
backend_url=os.getenv("HERMES_NABIL_URL", "http://127.0.0.1:8642"),
|
||||
backend_url=os.getenv("HERMES_NABIL_URL", "http://hermes-nabil:9119"),
|
||||
scope="nabil",
|
||||
accent_token="--accent-nabil",
|
||||
icon="terminal",
|
||||
persona_file="nabil.yaml",
|
||||
supports_files=True,
|
||||
files_url=os.getenv("DSH_FILEBROWSER_URL", "http://127.0.0.1:8901")
|
||||
files_url=os.getenv("DSH_FILEBROWSER_URL", "http://dsh-vps-filebrowser:8080")
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user