fix(hub): fix hub config wiring and volume expansion in client

This commit is contained in:
AFredefon
2026-02-25 23:54:15 +01:00
parent f3899279d5
commit 6cd8fd3cf5
4 changed files with 118 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ from __future__ import annotations
import asyncio
import json
import os
import subprocess
from contextlib import asynccontextmanager
from typing import TYPE_CHECKING, Any, cast
@@ -242,7 +243,7 @@ class HubClient:
# Add volumes
for volume in config.volumes:
cmd.extend(["-v", volume])
cmd.extend(["-v", os.path.expanduser(volume)])
# Add environment variables
for key, value in config.environment.items():