Run update.sh
This commit is contained in:
parent
64b961bcef
commit
607f63651c
|
|
@ -16,14 +16,15 @@ WARNING:
|
||||||
|
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`3.6` (*versions/library-3.6/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2127169e2d9dcbb7ae8c7eca599affd2d61b49a7/versions/library-3.6/x86_64/Dockerfile)
|
- [`3.6` (*versions/library-3.6/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2e882bdc813175bb450fd34c3745071c2a912945/versions/library-3.6/x86_64/Dockerfile)
|
||||||
- [`3.7`, `latest` (*versions/library-3.7/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/61c3181ad3127c5bedd098271ac05f49119c9915/versions/library-3.7/x86_64/Dockerfile)
|
- [`3.7` (*versions/library-3.7/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2e371309a9b5dbbfd018c95ad481fc0d6d2e5e2d/versions/library-3.7/x86_64/Dockerfile)
|
||||||
- [`edge` (*versions/library-edge/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/edd30a358e57a880645e25a83e9d9bd79bff06f5/versions/library-edge/x86_64/Dockerfile)
|
- [`3.8`, `latest` (*versions/library-3.8/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2bfe6510ee31d86cfeb2f37587f4cf866f28ffbc/versions/library-3.8/x86_64/Dockerfile)
|
||||||
- [`3.1` (*versions/library-3.1/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/62606823dbae10f763dae1878f44ec918ac8dce5/versions/library-3.1/Dockerfile)
|
- [`edge` (*versions/library-edge/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/00fc418baa5a63ccb31a5b8187407998e13a7dd7/versions/library-edge/x86_64/Dockerfile)
|
||||||
- [`3.2` (*versions/library-3.2/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/41ee859116107fe6e45487afddbf773c09fe5e41/versions/library-3.2/Dockerfile)
|
- [`3.1` (*versions/library-3.1/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/73f3f0ed1588e657d8e0eba0dd5650f9ff53943b/versions/library-3.1/Dockerfile)
|
||||||
- [`3.3` (*versions/library-3.3/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/3683598b841a0bbdd4a892ff575e60e02119d37d/versions/library-3.3/Dockerfile)
|
- [`3.2` (*versions/library-3.2/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/09f09a4304673126703a9309d3d52db2ea25817d/versions/library-3.2/Dockerfile)
|
||||||
- [`3.4` (*versions/library-3.4/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/eaf8d6dd72bacb1d739bcfee475eda78c70e3ecc/versions/library-3.4/Dockerfile)
|
- [`3.3` (*versions/library-3.3/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/86bac9e6b247a2327b5915ab88d2b1791b96847f/versions/library-3.3/Dockerfile)
|
||||||
- [`3.5` (*versions/library-3.5/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/791bc2db0eef96f9a90b662079114a5eb5a2ffc2/versions/library-3.5/Dockerfile)
|
- [`3.4` (*versions/library-3.4/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/236558862619cbc7b7429c528d941b57692d85f3/versions/library-3.4/Dockerfile)
|
||||||
|
- [`3.5` (*versions/library-3.5/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/787fad45d5e39920c8090488945faf43ff1cd9e4/versions/library-3.5/Dockerfile)
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ WARNING:
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`7.6.3` (*7.6/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/267f7f8d47b44a0184ecfbfaa072b47ecef1bc7b/7.6/Dockerfile)
|
- [`7.6.3` (*7.6/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/267f7f8d47b44a0184ecfbfaa072b47ecef1bc7b/7.6/Dockerfile)
|
||||||
- [`7.7.0`, `latest` (*7.7/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/dbfb28976df3f452382a086ab0694983f3af2fc4/7.7/Dockerfile)
|
- [`7.7.1`, `latest` (*7.7/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/3b529d760ea1e65c11c0a831c654f3d395b41d42/7.7/Dockerfile)
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ Bonita (called Bonita BPM till 7.5) is an open-source business process managemen
|
||||||
$ docker run --name bonita -d -p 8080:8080 bonita
|
$ docker run --name bonita -d -p 8080:8080 bonita
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start a container running the [Tomcat Bundle](https://documentation.bonitasoft.com/bonita/7.6/tomcat-bundle) with Bonita Engine + Bonita Portal. With no environment variables specified, it's as like if you have launched the bundle on your host using startup.{sh|bat} (with security hardening on REST and HTTP APIs, cf Security part). Bonita uses a H2 database here.
|
This will start a container running the [Tomcat Bundle](https://documentation.bonitasoft.com/bonita/7.7/tomcat-bundle) with Bonita Engine + Bonita Portal. With no environment variables specified, it's as like if you have launched the bundle on your host using startup.{sh|bat} (with security hardening on REST and HTTP APIs, cf Security part). Bonita uses a H2 database here.
|
||||||
|
|
||||||
You can access the Bonita Portal on http://localhost:8080/bonita and login using the default credentials: install / install
|
You can access the Bonita Portal on http://localhost:8080/bonita and login using the default credentials: install / install
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@ You can access the Bonita Portal on http://localhost:8080/bonita and login using
|
||||||
|
|
||||||
PostgreSQL is the recommanded database.
|
PostgreSQL is the recommanded database.
|
||||||
|
|
||||||
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.6/database-configuration#toc4):
|
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.7/database-configuration#toc5):
|
||||||
|
|
||||||
mkdir -p custom_postgres
|
mkdir -p custom_postgres
|
||||||
echo '#!/bin/bash' > custom_postgres/bonita.sh
|
echo '#!/bin/bash' > custom_postgres/bonita.sh
|
||||||
|
|
@ -96,7 +96,7 @@ $ docker run --name bonita_postgres --link mydbpostgres:postgres -d -p 8080:8080
|
||||||
|
|
||||||
There are known issues with the management of XA transactions by MySQL engine and driver: see MySQL bugs [17343](http://bugs.mysql.com/bug.php?id=17343) and [12161](http://bugs.mysql.com/bug.php?id=12161) for more details. Thus, using MySQL database in a production environment is not recommended.
|
There are known issues with the management of XA transactions by MySQL engine and driver: see MySQL bugs [17343](http://bugs.mysql.com/bug.php?id=17343) and [12161](http://bugs.mysql.com/bug.php?id=12161) for more details. Thus, using MySQL database in a production environment is not recommended.
|
||||||
|
|
||||||
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.6/database-configuration#toc4) which is set by default to 1M:
|
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.7/database-configuration#toc5) which is set by default to 1M:
|
||||||
|
|
||||||
mkdir -p custom_mysql
|
mkdir -p custom_mysql
|
||||||
echo "[mysqld]" > custom_mysql/bonita.cnf
|
echo "[mysqld]" > custom_mysql/bonita.cnf
|
||||||
|
|
@ -264,9 +264,9 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cd bonita_migration
|
cd bonita_migration
|
||||||
wget https://download.forge.ow2.org/bonita/bonita-migration-distrib-2.29.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.31.1.zip
|
||||||
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
||||||
unzip bonita-migration-distrib-2.29.0.zip
|
unzip bonita-migration-distrib-2.31.1.zip
|
||||||
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -281,13 +281,13 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cd bonita_migration
|
cd bonita_migration
|
||||||
wget https://download.forge.ow2.org/bonita/bonita-migration-distrib-2.29.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.31.1.zip
|
||||||
unzip bonita-migration-distrib-2.29.0.zip
|
unzip bonita-migration-distrib-2.31.1.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
- Configure the migration tool
|
- Configure the migration tool
|
||||||
|
|
||||||
cd bonita-migration-distrib-2.29.0
|
cd bonita-migration-distrib-2.31.1
|
||||||
|
|
||||||
edit the migration tool config to point towards the copy of bonita home and db
|
edit the migration tool config to point towards the copy of bonita home and db
|
||||||
|
|
||||||
|
|
@ -319,17 +319,17 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
|
||||||
- If >= 7.3.0
|
- If >= 7.3.0
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run --name=bonita_7.5.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.5.4
|
$ docker run --name=bonita_7.7.1_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.7.1
|
||||||
```
|
```
|
||||||
|
|
||||||
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
|
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker exec -ti bonita_7.5.4_postgres /bin/bash
|
$ docker exec -ti bonita_7.7.1_postgres /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd /opt/bonita/BonitaCommunity-7.6.3-Tomcat-8.5.23/setup
|
$ cd /opt/bonita/BonitaCommunity-7.7.1-Tomcat-8.5.31/setup
|
||||||
$ ./setup.sh pull
|
$ ./setup.sh pull
|
||||||
$ TENANT_LOGIN=tech_user
|
$ TENANT_LOGIN=tech_user
|
||||||
$ TENANT_PASSWORD=secret
|
$ TENANT_PASSWORD=secret
|
||||||
|
|
@ -349,10 +349,10 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker restart bonita_7.5.4_postgres
|
$ docker restart bonita_7.7.1_postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.6/migrate-from-an-earlier-version-of-bonita-bpm).
|
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.7/migrate-from-an-earlier-version-of-bonita-bpm).
|
||||||
|
|
||||||
## Security
|
## Security
|
||||||
|
|
||||||
|
|
@ -360,11 +360,11 @@ This Docker image activates both static and dynamic authorization checks by defa
|
||||||
|
|
||||||
- REST API authorization
|
- REST API authorization
|
||||||
|
|
||||||
- [Static authorization checking](https://documentation.bonitasoft.com/bonita/7.6/rest-api-authorization#toc1)
|
- [Static authorization checking](https://documentation.bonitasoft.com/bonita/7.7/rest-api-authorization#toc1)
|
||||||
|
|
||||||
- [Dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.6/rest-api-authorization#toc2)
|
- [Dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.7/rest-api-authorization#toc2)
|
||||||
|
|
||||||
- [HTTP API](https://documentation.bonitasoft.com/bonita/7.6/rest-api-authorization#toc9)
|
- [HTTP API](https://documentation.bonitasoft.com/bonita/7.7/rest-api-authorization#toc10)
|
||||||
|
|
||||||
For specific needs you can override this behavior by setting HTTP_API to true and REST_API_DYN_AUTH_CHECKS to false:
|
For specific needs you can override this behavior by setting HTTP_API to true and REST_API_DYN_AUTH_CHECKS to false:
|
||||||
|
|
||||||
|
|
@ -378,7 +378,7 @@ When you start the `bonita` image, you can adjust the configuration of the Bonit
|
||||||
|
|
||||||
### `PLATFORM_PASSWORD`
|
### `PLATFORM_PASSWORD`
|
||||||
|
|
||||||
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.6/tomcat-bundle#toc3) for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
|
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.7/tomcat-bundle#toc3) for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
|
||||||
|
|
||||||
### `PLATFORM_LOGIN`
|
### `PLATFORM_LOGIN`
|
||||||
|
|
||||||
|
|
@ -386,7 +386,7 @@ This optional environment variable is used in conjunction with `PLATFORM_PASSWOR
|
||||||
|
|
||||||
### `TENANT_PASSWORD`
|
### `TENANT_PASSWORD`
|
||||||
|
|
||||||
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.6/tomcat-bundle#toc3) for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
|
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.7/tomcat-bundle#toc3) for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
|
||||||
|
|
||||||
### `TENANT_LOGIN`
|
### `TENANT_LOGIN`
|
||||||
|
|
||||||
|
|
@ -394,7 +394,7 @@ This optional environment variable is used in conjunction with `TENANT_PASSWORD`
|
||||||
|
|
||||||
### `REST_API_DYN_AUTH_CHECKS`
|
### `REST_API_DYN_AUTH_CHECKS`
|
||||||
|
|
||||||
This optional environment variable is used to enable/disable [dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.6/rest-api-authorization#toc2) on Bonita REST API. The default value is `true`, which will activate dynamic authorization checking.
|
This optional environment variable is used to enable/disable [dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.7/rest-api-authorization#toc2) on Bonita REST API. The default value is `true`, which will activate dynamic authorization checking.
|
||||||
|
|
||||||
### `HTTP_API`
|
### `HTTP_API`
|
||||||
|
|
||||||
|
|
@ -428,7 +428,7 @@ These variables are used in conjunction to create a new user, set that user's pa
|
||||||
|
|
||||||
### `BIZ_DB_NAME`, `BIZ_DB_USER`, `BIZ_DB_PASS`
|
### `BIZ_DB_NAME`, `BIZ_DB_USER`, `BIZ_DB_PASS`
|
||||||
|
|
||||||
These variables are used in conjunction to create a new user, set that user's password and create the `bonita` [business database](https://documentation.bonitasoft.com/bonita/7.6/define-and-deploy-the-bdm#toc1).
|
These variables are used in conjunction to create a new user, set that user's password and create the `bonita` [business database](https://documentation.bonitasoft.com/bonita/7.7/define-and-deploy-the-bdm#toc1).
|
||||||
|
|
||||||
`BIZ_DB_NAME` default value is `businessdb`.
|
`BIZ_DB_NAME` default value is `businessdb`.
|
||||||
|
|
||||||
|
|
@ -460,7 +460,7 @@ For example, you can increase the log level :
|
||||||
|
|
||||||
mkdir -p custom_bonita
|
mkdir -p custom_bonita
|
||||||
echo '#!/bin/bash' > custom_bonita/bonita.sh
|
echo '#!/bin/bash' > custom_bonita/bonita.sh
|
||||||
echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.6.3-Tomcat-8.5.23/server/conf/logging.properties' >> custom_bonita/bonita.sh
|
echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.7.1-Tomcat-8.5.31/server/conf/logging.properties' >> custom_bonita/bonita.sh
|
||||||
chmod +x custom_bonita/bonita.sh
|
chmod +x custom_bonita/bonita.sh
|
||||||
|
|
||||||
docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 bonita
|
docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 bonita
|
||||||
|
|
@ -469,7 +469,7 @@ Note: There are several ways to check the `bonita` logs. One of them is
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker exec -ti bonita_custom /bin/bash
|
$ docker exec -ti bonita_custom /bin/bash
|
||||||
tail -f /opt/bonita/BonitaCommunity-7.6.3-Tomcat-8.5.23/server/logs/bonita.`date +%Y-%m-%d`.log
|
tail -f /opt/bonita/BonitaCommunity-7.7.1-Tomcat-8.5.31/server/logs/bonita.`date +%Y-%m-%d`.log
|
||||||
```
|
```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
|
||||||
|
|
@ -18,15 +18,15 @@ WARNING:
|
||||||
|
|
||||||
## Simple Tags
|
## Simple Tags
|
||||||
|
|
||||||
- [`1.1.0-linux`, `linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/738f7e2cd879f0a2642eb07a12b8303b2b99e68b/amd64/Dockerfile)
|
- [`1.2.0-linux`, `linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/f959825502854f43c88186c584c05ba4bf1fd0f7/amd64/Dockerfile)
|
||||||
- [`1.1.0-nanoserver`, `nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/738f7e2cd879f0a2642eb07a12b8303b2b99e68b/windows/nanoserver/Dockerfile)
|
- [`1.2.0-nanoserver`, `nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/f959825502854f43c88186c584c05ba4bf1fd0f7/windows/nanoserver/Dockerfile)
|
||||||
- [`1.1.0-windowsservercore`, `windowsservercore` (*windows/windowsservercore/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/738f7e2cd879f0a2642eb07a12b8303b2b99e68b/windows/windowsservercore/Dockerfile)
|
- [`1.2.0-windowsservercore`, `windowsservercore` (*windows/windowsservercore/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/f959825502854f43c88186c584c05ba4bf1fd0f7/windows/windowsservercore/Dockerfile)
|
||||||
|
|
||||||
## Shared Tags
|
## Shared Tags
|
||||||
|
|
||||||
- `1.1.0`, `latest`:
|
- `1.2.0`, `latest`:
|
||||||
- [`1.1.0-linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/738f7e2cd879f0a2642eb07a12b8303b2b99e68b/amd64/Dockerfile)
|
- [`1.2.0-linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/f959825502854f43c88186c584c05ba4bf1fd0f7/amd64/Dockerfile)
|
||||||
- [`1.1.0-nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/738f7e2cd879f0a2642eb07a12b8303b2b99e68b/windows/nanoserver/Dockerfile)
|
- [`1.2.0-nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-docker/blob/f959825502854f43c88186c584c05ba4bf1fd0f7/windows/nanoserver/Dockerfile)
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
|
|
@ -88,8 +88,8 @@ WARNING:
|
||||||
# Check "docker run" for more information.
|
# Check "docker run" for more information.
|
||||||
|
|
||||||
$ docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
|
$ docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
|
||||||
[INF] Starting nats-server version 1.1.0
|
[INF] Starting nats-server version 1.2.0
|
||||||
[INF] Git commit [add6d79]
|
[INF] Git commit [6608e9a]
|
||||||
[INF] Starting http monitor on 0.0.0.0:8222
|
[INF] Starting http monitor on 0.0.0.0:8222
|
||||||
[INF] Listening for client connections on 0.0.0.0:4222
|
[INF] Listening for client connections on 0.0.0.0:4222
|
||||||
[INF] Server is ready
|
[INF] Server is ready
|
||||||
|
|
@ -105,9 +105,9 @@ $ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222
|
||||||
|
|
||||||
# If you want to verify the routes are connected, try this instead:
|
# If you want to verify the routes are connected, try this instead:
|
||||||
$ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats -c gnatsd.conf --routes=nats-route://ruser:T0pS3cr3t@nats-main:6222 -DV
|
$ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats -c gnatsd.conf --routes=nats-route://ruser:T0pS3cr3t@nats-main:6222 -DV
|
||||||
[INF] Starting nats-server version 1.1.0
|
[INF] Starting nats-server version 1.2.0
|
||||||
[DBG] Go build version go1.9.4
|
[DBG] Go build version go1.10.3
|
||||||
[INF] Git commit [add6d79]
|
[INF] Git commit [6608e9a]
|
||||||
[INF] Starting http monitor on 0.0.0.0:8222
|
[INF] Starting http monitor on 0.0.0.0:8222
|
||||||
[INF] Listening for client connections on 0.0.0.0:4222
|
[INF] Listening for client connections on 0.0.0.0:4222
|
||||||
[DBG] Server id is TH1MRk9Mug4fgIDdcXIo6R
|
[DBG] Server id is TH1MRk9Mug4fgIDdcXIo6R
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue