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

Make the max wait configurable? #1

Open
kirktrue opened this issue Aug 30, 2019 · 1 comment
Open

Make the max wait configurable? #1

kirktrue opened this issue Aug 30, 2019 · 1 comment

Comments

@kirktrue
Copy link

Can this be updated to allow the max wait time be configurable? My Cassandra cluster takes about 2 seconds longer to start up than the script waits. If I could pass MAX_WAIT to 6 or 7, it would likely work.

@ankush2394
Copy link

@kirktrue Any idea why this is not connecting to localhost ?? I am using his entrypoint.sh file and my docker file as

FROM cassandra:4.0
MAINTAINER me

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod 755 /usr/local/bin/entrypoint.sh
RUN mkdir scripts
COPY alter.cql scripts/
RUN chmod 755 scripts/alter.cql

EXPOSE 9042
CMD ["entrypoint.sh"]

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