Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sandbox/egg_lib/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import time
from pathlib import Path

from .config import GATEWAY_PORT
from .output import error, info, success


Expand Down Expand Up @@ -199,7 +200,7 @@ def wait_for_gateway(compose_file: Path, timeout: int = 60) -> bool:
info("Waiting for gateway to be healthy...")

# Load port from .env or use default
port = "9848"
port = str(GATEWAY_PORT)
env_file = get_env_file(compose_file)
if env_file:
with open(env_file) as f:
Expand Down
3 changes: 2 additions & 1 deletion sandbox/egg_lib/orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from collections.abc import Callable
from dataclasses import dataclass

from .config import GATEWAY_PORT
from .context import get_context
from .docker import ensure_gateway_networks
from .gateway import cleanup_gateway as gateway_cleanup
Expand All @@ -39,7 +40,7 @@ class OrchestrationResult:

success: bool
gateway_ip: str | None = None
gateway_port: int = 9848
gateway_port: int = GATEWAY_PORT
error_message: str | None = None


Expand Down
Loading