Add --host argument to adk web and adk api_server commands and change the default binding host to localhost.

PiperOrigin-RevId: 759276079
This commit is contained in:
Liang Wu
2025-05-15 13:27:17 -07:00
committed by Copybara-Service
parent 05917cabbd
commit c399c50be5
2 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ COPY "agents/{app_name}/" "/app/agents/{app_name}/"
EXPOSE {port}
CMD adk {command} --port={port} {session_db_option} {trace_to_cloud_option} "/app/agents"
CMD adk {command} --port={port} --host=0.0.0.0 {session_db_option} {trace_to_cloud_option} "/app/agents"
"""