Swarmlab docs

Application development in a distributed system

Development of Distributed Systems from Design to Application


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.
 
 
 

44 lines
1.4 KiB

= Source and config files
image::ROOT:swarmlab-connect.png[float=right]
* (1) Opens the info menu
* (2) Run a shell in a running container
* (3) Opens web interface
* (4),(5) Source directory - Directory Maps
image::ROOT:types-of-mounts-bind.png[,250,float=right]
*"Directory Maps"* are the preferred mechanism for persisting data generated by and used by Docker containers. We use here "bind mounts" and they are dependent on the directory structure and OS of the host machine.
WARNING: Your local changes to the files will be overwritten by click on "Download" button. You should always *take a full backup* first (simple copy the directory tree)
== webclient
*Source code:* playground-client/src
*environment variables*: playground-client/.env
== dummy_service
*Source code:* dummyservice/swarmlab-app/src/run
*config file*: WriteToMongo/fluent/fluent.conf
** Unified data collector layer
== readmongo_service
*Source code:* readmongo/swarmlab-app/src/run
*environment variables*: readmongo/swarmlab-app/src/.env
== redisserver
Redis is *automatically started* for you. We use nodeJS to interact with Redis. Setup config etc, on the fly from dummy_service and readmongo_service services.
== mongo
Mongo is *automatically started* for you. We use nodeJS to interact with Mongo. Setup config etc, on the fly from dummy_service and readmongo_service services.