|
|
@ -19,6 +19,9 @@ |
|
|
|
* xref:index.adoc#microservice-gns3[How to open Web service microservice-gns3] |
|
|
|
|
|
|
|
|
|
|
|
[#microservice-mongoexpress0] |
|
|
|
* xref:index.adoc#microservice-mongoexpress[How to use Web service microservice-mongoexpress] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -122,6 +125,55 @@ Find IP:port in: |
|
|
|
Start with URL: http://localhost:port |
|
|
|
---- |
|
|
|
|
|
|
|
[#microservice-mongoexpress0] |
|
|
|
[.text-right] |
|
|
|
== How to open Web service microservice-gns3 xref:index.adoc#microservice-gns30[image:up-1.png[28,28,float=right]] |
|
|
|
|
|
|
|
1. Find IP:port in: |
|
|
|
|
|
|
|
* Instances->running Containers |
|
|
|
|
|
|
|
** Actions->Ports |
|
|
|
|
|
|
|
[source,bash] |
|
|
|
---- |
|
|
|
Start with URL: http://localhost:port |
|
|
|
---- |
|
|
|
|
|
|
|
2. Attach-network-interface mongoserver: |
|
|
|
|
|
|
|
* Instances->running Containers |
|
|
|
|
|
|
|
** Actions->Networks [Select network] |
|
|
|
|
|
|
|
TIP: Once attached, you can work with the MongoDB server, managing MongoDB Databases, Collections, and Documents. |
|
|
|
|
|
|
|
|
|
|
|
3. Find mongoserver: |
|
|
|
|
|
|
|
* Instances->running Containers |
|
|
|
|
|
|
|
** Actions->Connect [Run in terminal] |
|
|
|
|
|
|
|
*** nmap -sP IP/mask or nmap -p- IP/Network |
|
|
|
|
|
|
|
TIP |
|
|
|
==== |
|
|
|
Start mongoexpress |
|
|
|
|
|
|
|
[source,bash] |
|
|
|
---- |
|
|
|
mongo-express --admin --url mongodb://[IP]:27017 |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
Reload http://localhost:port |
|
|
|
|
|
|
|
step 1. |
|
|
|
|
|
|
|
==== |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|