For an easy testing of OdysseusNet on a single machine, we propose the user of docker-compose. See an example of a docker-compose.yml file below (use
docker-compose up) . Here three workers with kafka capabilities are created and started. Hint: To update the images to the lastest versions after the initial download use
docker-compose pull bevor starting with
As this is not a root container under linux you will need to give write access to user with uid=1000 gid=1024
or give access right for any user:
Remark: If you do not want to use kafka to communicate and the worker should be able to commicate with each other, it is important, that the master node is part of the docker network, else the connections between the workers could be failing.