Skip to content

feat: allow node host override in docker module#1659

Merged
derklaro merged 1 commit intonightlyfrom
docker-node-host-override
Jun 18, 2025
Merged

feat: allow node host override in docker module#1659
derklaro merged 1 commit intonightlyfrom
docker-node-host-override

Conversation

@derklaro
Copy link
Member

Motivation

The ip/port that can be used from inside a docker network to connect to a node listener on the host system might be different that any configured listener on the node (e.g. host.docker.internal in some cases). There is currently no way to connect to a node listener outside the docker network (except for custom modules/server implementations).

Modification

Add the possibility to override the node host (globally and task-specific) to allow specifying a different host and port to connect to from inside a docker network.

Result

Services can connect to a node listener bound outside of a docker network.

@derklaro derklaro added this to the 4.0.0-RC13 milestone Jun 17, 2025
@derklaro derklaro requested a review from 0utplay June 17, 2025 16:07
@derklaro derklaro self-assigned this Jun 17, 2025
@derklaro derklaro added v: 4.X This pull should be included in the 4.0 release t: improvement The pull request improves existing code in: module An issue/pull request releated to one of the internal modules labels Jun 17, 2025
@github-actions
Copy link

Test Results

 51 files  ±0   51 suites  ±0   1m 17s ⏱️ -9s
452 tests ±0  452 ✅ ±0  0 💤 ±0  0 ❌ ±0 
783 runs  ±0  783 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2d70cf1. ± Comparison against base commit b37fbba.

@derklaro derklaro merged commit 9ebfdee into nightly Jun 18, 2025
6 checks passed
@derklaro derklaro deleted the docker-node-host-override branch June 18, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: module An issue/pull request releated to one of the internal modules t: improvement The pull request improves existing code v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants