mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
GitBook: [master] 2 pages modified
This commit is contained in:
parent
5257c83a48
commit
aa207d6a14
@ -117,7 +117,6 @@
|
|||||||
* [Example Configuration](jetstream/concepts/configuration.md)
|
* [Example Configuration](jetstream/concepts/configuration.md)
|
||||||
* [Getting Started](jetstream/getting_started/README.md)
|
* [Getting Started](jetstream/getting_started/README.md)
|
||||||
* [Using Docker](jetstream/getting_started/using_docker.md)
|
* [Using Docker](jetstream/getting_started/using_docker.md)
|
||||||
* [Using Docker with NGS](jetstream/getting_started/using-docker-with-ngs.md)
|
|
||||||
* [Using Source](jetstream/getting_started/using_source.md)
|
* [Using Source](jetstream/getting_started/using_source.md)
|
||||||
* [Administration & Usage from CLI](jetstream/administration/README.md)
|
* [Administration & Usage from CLI](jetstream/administration/README.md)
|
||||||
* [Account Information](jetstream/administration/account.md)
|
* [Account Information](jetstream/administration/account.md)
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# Using Docker with NGS
|
|
||||||
|
|
||||||
You can join a JetStream instance to your [NGS](https://synadia.com/ngs/pricing) account, first we need a credential for testing JetStream:
|
|
||||||
|
|
||||||
```text
|
|
||||||
$ nsc add user -a YourAccount --name leafnode --expiry 1M
|
|
||||||
```
|
|
||||||
|
|
||||||
You'll get a credential file somewhere like `~/.nkeys/creds/synadia/YourAccount/leafnode.creds`, mount this file into the docker container for JetStream using `-v ~/.nkeys/creds/synadia/YourAccount/leafnode.creds:/leafnode.creds`.
|
|
||||||
|
|
||||||
```text
|
|
||||||
$ docker run -ti -v ~/.nkeys/creds/synadia/YourAccount/leafnode.creds:/leafnode.creds --name jetstream synadia/jsm:latest server
|
|
||||||
[1] 2020/01/20 12:44:11.752465 [INF] Starting nats-server version 2.2.0-beta
|
|
||||||
...
|
|
||||||
[1] 2020/01/20 12:55:01.849033 [INF] Connected leafnode to "connect.ngs.global"
|
|
||||||
```
|
|
||||||
|
|
||||||
Your JSM shell will still connect locally, other connections in your NGS account can use JetStream at this point.
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user