KualiCo / nats-streaming-console

A web console for Nats Streaming Server
162 stars 42 forks source link

How do I pass parameters to the application? #13

Open natiki opened 5 years ago

natiki commented 5 years ago

PS C:> docker run kuali/nats-streaming-console { options: { server: 'nats://localhost:4222', monitor: 'http://localhost:8222', cluster: 'test-cluster', appName: 'nats-streaming-console' } } Example app listening at http://:::8282

How do I change the cluster name etc.? (I am sure this is something I should know from a docker perspective.)

synchrone commented 5 years ago

The container pushed to docker hub as kuali/nats-streaming-console is not the same as master branch of this repo.

The committed code be possible to configure with env vars like https://github.com/KualiCo/nats-streaming-console/blob/master/server/nats-ss.js#L4 here, but it is hardcoded in the pushed image

natiki commented 5 years ago

@synchrone Thanks for the heads up. Maintainers any chance of a fix for this?