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

Add Env variables to Dockerfile so they can be fix at docker run command #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quick691fr
Copy link

Then you can fix variable at container startup :

docker run -d -e STAN_URL=nats://10.0.0.1:4222 -e STAN_MONITOR_URL=http://10.0.0.1:8222 -e STAN_CLUSTER=my-cluster kuali/nats-streaming-console:latest

@jrgensen
Copy link
Contributor

You do not need to specify environmental variables i the Dockerfile, to be able to set them or override them at runtime - this pull-request is therefore obsolete.

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.

2 participants