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

Allow custom bind addresses for share_instance_port and instance_control_port #625

Closed

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented Nov 28, 2024

Purpose ✍️

I like containerising things a lot and this could help with that as I want to run lxmd in one container and have it connect over the container network to my rnsd

- Default value for `share_instance_addr` should be `"127.0.0.1"`
- Default value for `instance_control_addr` should be `"127.0.0.1"`
- When setting `self.rpc_addr` replace the bind address of `"127.0.0.1"` with `self.instance_control_port`
- Added support for new configuration parameters `shared_instance_address` and `instance_control_addr`
@deavmi deavmi marked this pull request as draft November 28, 2024 17:05
- Added default argument `bindaddr` with default value of `"127.0.0.1"`
- We also now set `self.bind_ip` equal to `bindaddr`
- When constructing the `LocalServerInterface` pass in the `self.share_instance_addr` as the address to bind to
@deavmi
Copy link
Contributor Author

deavmi commented Nov 28, 2024

Think I am basically done, will neaten up and double check

@deavmi
Copy link
Contributor Author

deavmi commented Dec 1, 2024

Closing as not needed.

@deavmi deavmi closed this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant