Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(swarm): allow custom listen IP configuration #1072

Merged
merged 5 commits into from
Jul 10, 2024

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jul 9, 2024

Description

Allows user to specify listen_ip in extra args for the instance to override the IP address used for listeners (JSON-rpc, web etc)
Log target for stdout output of all instances uses the instance name to be consistent with the web UI
Greatly improve instance log output

Motivation and Context

This feature has been requested for use with docker.

extra_args is not named well and has been renamed to settings. extra_args is still accepted for backwards compatibilty

How Has This Been Tested?

By adding listen_ip = "0.0.0.0" to extra_args for the validator node.

What process can a PR reviewer use to test or verify this change?

As above, works with all instances that have listeners

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

Copy link

github-actions bot commented Jul 9, 2024

Test Results (CI)

540 tests  ±0   540 ✅ +1   2h 9m 54s ⏱️ + 31m 32s
 64 suites ±0     0 💤 ±0 
  2 files   ±0     0 ❌  - 1 

Results for commit 50ac436. ± Comparison against base commit 92dcd20.

♻️ This comment has been updated with latest results.

@sdbondi sdbondi force-pushed the swarm-config-listen-ip branch from 0dc129f to 50ac436 Compare July 9, 2024 11:31
@sdbondi sdbondi merged commit c3608c3 into tari-project:development Jul 10, 2024
10 checks passed
@sdbondi sdbondi deleted the swarm-config-listen-ip branch July 10, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants