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

Docker image cannnot use -redis option #31

Open
joker1007 opened this issue Feb 21, 2018 · 2 comments
Open

Docker image cannnot use -redis option #31

joker1007 opened this issue Feb 21, 2018 · 2 comments

Comments

@joker1007
Copy link

Current Dockerfile defines worker_id env.
If worker_id env is defined, katsubushi ignores -redis option.
Because envToFlag is processed at last of option parsing.
Unless user unsets worker_id by any way, cannot use -redis option.
I think it is not good.

@fujiwara
Copy link
Contributor

A workaround is available, for example set worker_id=0 and redis=redis://......

But certainly that is confusing. We have been fixed Dockerfile in v1.5.0. (#32)
Now we can run simply asdocker run katsubushi/katsubushi:v1.5.0 -worker-id 1 or katsubushi/katsubushi:v1.5.0 -redis redis://.....

@joker1007
Copy link
Author

I see.
Thanks for your response!!

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

No branches or pull requests

2 participants