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.

147 lines
2.8 KiB

3 years ago
## Swarmlab is a collection of services that aims to
3 years ago
3 years ago
> - provide teachers and professors with online remote tools to do their lessons
>
> - give students the opportunity to study real life examples in their chosen area of expertise
>
> - allow developers to fully test and debug their applications and provide POC’s
>
> - or you simply want to use a Application (in a microservices-based architecture)
>
> Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment.
>
> More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html
3 years ago
![alt text](images/swarmlab-network.png "")
3 years ago
## LabInstance mongoexpress
3 years ago
3 years ago
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
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
https://github.com/mongo-express/mongo-express
3 years ago
## Quickstart
3 years ago
This is a quickstart guide of howto use this *LabInstance*
3 years ago
### HowTo use it
### Default Configuration
- Working Directory
> /home/docker/project
- Default user
> docker
- Default password
> docker
- Default password4root
> pass
### Default port
>
> port 8081
>
3 years ago
## Connect string
>
>
> Find ip with mongoserver
>
> nmap -sP IP/24
>
> nmap -p- IP
>
> mongo-express --admin --url mongodb://172.25.0.2:27017
>
> open Browser
>
## More Info: https://git.swarmlab.io:3000/docs/Documentation
3 years ago
>
> ./build.sh faq
>
>
> http://127.0.0.1:8080/swarmlab_faq/docs/index.html#microservice-mongoexpress
>
3 years ago
### 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
>