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

3 years ago
= Source and config files
image::ROOT:swarmlab-connect.png[float=right]
3 years ago
* (1) Opens the info menu
* (2) Run a shell in a running container
* (3) Opens web interface
3 years ago
* (4),(5) Source directory - Directory Maps
3 years ago
image::ROOT:types-of-mounts-bind.png[,250,float=right]
3 years ago
3 years ago
*"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.
3 years ago
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)
3 years ago
3 years ago
== webclient
3 years ago
*Source code:* playground-client/src
3 years ago
*environment variables*: playground-client/.env
3 years ago
== 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. Ww 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. Ww use nodeJS to interact with Mongo. Setup config etc, on the fly from dummy_service and readmongo_service services.
3 years ago