Skip to content

Commit d5a9d9f

Browse files
committed
addng port for gcs
1 parent baac3a6 commit d5a9d9f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎modules/api/ray.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
if "RAY_DOCKER" in os.environ:
1515
ray.init(
1616
dashboard_host=os.environ.get("RAY_DASHBOARD_HOST", "0.0.0.0"),
17-
dashboard_port=int(os.environ.get("RAY_DASHBOARD_PORT", 8265))
17+
dashboard_port=int(os.environ.get("RAY_DASHBOARD_PORT", 8265)),
18+
port=int(os.environ.get("RAY_GCS_PORT", 6379)),
1819
)
1920
else:
2021
ray.init()

‎webui-user.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@
5555
#export RAY_ADDRESS='ray://ray-head:10001'
5656
#export RAY_DOCKER="True"
5757
#export RAY_DASHBOARD_PORT=8265
58-
#export RAY_DASHBOARD_HOST="0.0.0.0"
58+
#export RAY_DASHBOARD_HOST="0.0.0.0"
59+
#export RAY_GCS_PORT=6379

0 commit comments

Comments
 (0)