You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
1.9 KiB

3 years ago
= LabInstance mongoexpress!
== Quickstart
This is a quickstart guide of howto use this *LabInstance*
=== Default Configuration
- Working Directory
> /home/docker/project
- Default user
> docker
- Default password
> docker
- Default password4root
> pass
=== Default port
>
> port 8081
>
=== Connect string
> Find mongoserver IP
> nmap -sP IP/24
> nmap -p- IP
> mongo-express --admin --url mongodb://172.25.0.2:27017
> open Browser
== LabInstance Info
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Features
* Connect to multiple databases
* View/add/delete databases
* View/add/rename/delete collections
* View/add/update/delete documents
* Preview audio/video/image assets inline in collection view
* Nested and/or large objects are collapsible for easy overview
* Async on-demand loading of big document properties (>100KB default) to keep collection view fast
* GridFS support - add/get/delete incredibly large files
* Use BSON data types in documents
* Mobile / Responsive - Bootstrap 3 works passably on small screens when you're in a bind
* Connect and authenticate to individual databases
* Authenticate as admin to view all databases
* Database blacklist/whitelist
* Custom CA and CA validation disabling
* Supports replica sets
== More info
https://github.com/mongo-express/mongo-express[^]
== RUN INSTANCE
Swarmlab services can be run in different ways.
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
- or use them individually at will on the **command line of your system**
=== CLI
> git clone ...
> cd [DIRECTORY]
=== help
> make help
==== create service
> make create
=== start service
> make start
=== stop service
> make stop
=== list service
> make list
=== clean service
> make clean