File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ const Env = z.object({
2626 . transform ( ( s ) => z . enum ( [ "http" , "https" ] ) . parse ( s . toLowerCase ( ) ) )
2727 . default ( "http" ) ,
2828 TRIGGER_WORKLOAD_API_DOMAIN : z . string ( ) . optional ( ) , // If unset, will use orchestrator-specific default
29+ TRIGGER_WORKLOAD_API_HOST_INTERNAL : z . string ( ) . default ( "0.0.0.0" ) ,
2930 TRIGGER_WORKLOAD_API_PORT_INTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the port the workload API listens on
3031 TRIGGER_WORKLOAD_API_PORT_EXTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the exposed port passed to the run controller
3132
Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ class ManagedSupervisor {
234234 // Responds to workload requests only
235235 this . workloadServer = new WorkloadServer ( {
236236 port : env . TRIGGER_WORKLOAD_API_PORT_INTERNAL ,
237+ host : env . TRIGGER_WORKLOAD_API_HOST_INTERNAL ,
237238 workerClient : this . workerSession . httpClient ,
238239 checkpointClient : this . checkpointClient ,
239240 } ) ;
You can’t perform that action at this time.
0 commit comments