Loading plug-test/README.md +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ You can found a docker compose for easy launching of : orion-ld, scorpio and ste you will need to define the following environment variable before launching the docker compose : - PORT : the port behind which the broker will be deployed - DB_PORT : the port behind which the database will be deployed - SUFFIX : an addition to tha name of the container to easily deploy multiple instances. - SUFFIX : an addition to the name of the container to easily deploy multiple instances. then you can launch the docker compose ``` Loading @@ -13,7 +13,6 @@ cd plug-test cd stellio PORT=8080 DB_PORT=5432 SUFFIX="-1" docker compose -p first_broker up ``` if you are a windows user or prefer using an .env file you can use the .example.env file to set the variable instead. by changing the variables you can easilly launch a second instance of a broker ``` Loading @@ -22,6 +21,8 @@ cd stellio PORT=8081 DB_PORT=5433 SUFFIX="-2" docker compose -p second_broker up ``` if you are a windows user or prefer using an .env file you can use the .example.env file to set the variable instead. ## CAVEAT with localhost and docker (for non leaf brokers) An application running on a container will not be able to contact another container on http://localhost:$PORT Loading Loading
plug-test/README.md +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ You can found a docker compose for easy launching of : orion-ld, scorpio and ste you will need to define the following environment variable before launching the docker compose : - PORT : the port behind which the broker will be deployed - DB_PORT : the port behind which the database will be deployed - SUFFIX : an addition to tha name of the container to easily deploy multiple instances. - SUFFIX : an addition to the name of the container to easily deploy multiple instances. then you can launch the docker compose ``` Loading @@ -13,7 +13,6 @@ cd plug-test cd stellio PORT=8080 DB_PORT=5432 SUFFIX="-1" docker compose -p first_broker up ``` if you are a windows user or prefer using an .env file you can use the .example.env file to set the variable instead. by changing the variables you can easilly launch a second instance of a broker ``` Loading @@ -22,6 +21,8 @@ cd stellio PORT=8081 DB_PORT=5433 SUFFIX="-2" docker compose -p second_broker up ``` if you are a windows user or prefer using an .env file you can use the .example.env file to set the variable instead. ## CAVEAT with localhost and docker (for non leaf brokers) An application running on a container will not be able to contact another container on http://localhost:$PORT Loading