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

Customize address and port #30

Open
motet-a opened this issue Apr 13, 2017 · 1 comment
Open

Customize address and port #30

motet-a opened this issue Apr 13, 2017 · 1 comment

Comments

@motet-a
Copy link

motet-a commented Apr 13, 2017

Could the address and the port be customized with a CLI argument or an environment variable?

I would be delighted to run rusticsearch in a Docker container. The --publish option for docker run could allow me to publish the 9200 port to the host if rusticsearch is listening to 0.0.0.0 inside the container. However, rusticsearch always listens to 127.0.0.1 by default, and as far as I known, there is no way to publish it in this case.

I think you can also consider listening to 0.0.0.0 by default instead of 127.0.0.1, but I’m not a network expert. Of course, it’s really easy to do and solves my problem, but a generic way to change the address is probably better.

(And thanks for this interesting project 👍)

@motet-a motet-a changed the title Customizable address and port Customize address and port Apr 13, 2017
@kaedroho
Copy link
Owner

Yep, this is definitely something that needs to be looked at fairly soon. I've been holding off a bit on configuration options so far as I'd like to think about configuration as a whole along with configuration files and environment variables and they'll all fit together which could have an impact on the final syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants