nats-io / nats-box

A container with NATS utilities
Apache License 2.0
117 stars 35 forks source link

nats-box changes default URL to be NGS #10

Closed aricart closed 4 years ago

aricart commented 4 years ago

Change default URL to be localhost:4222 unless otherwise defined.

The default use case is:

docker run --rm --network host -it -v /tmp/configs:/configs synadia/nats-server:latest
docker run --rm --network host -it  synadia/nats-box:latest
nats-pub foo bar

With network host, this works right out of the box without any typing. Instead it gets (correctly) an error from NGS.

variadico commented 4 years ago

Makes sense. Defaulting to NGS is surprising. I think we can change it.

wallyqs commented 4 years ago

sounds good to me as well

variadico commented 4 years ago

Fixed by https://github.com/nats-io/nats-box/pull/12