A demo using multiple Docker containers. Tests run from the selenium directory.
To start the web server and database containers:
docker-compose up -dVisit http://localhost/.
Visit http://localhost:8080/ to access Mongo Express.
- Visit http://localhost:8080/db/solarsystemdb/planets to see the
planetscollection in thesolarsystemdbdatabase - Click on
New Document. - Copy and paste the contents of pluto.json and then click
Save.
To stop all the containers:
docker-compose stopTo clear the data from the database, stop the containers and then delete the mongodb/data directory.
To cleanup the containers when you are done:
docker-compose rm -f