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 up again.
version: '3.8'
services:
worker01:
image: odysseusol/odysseus_kafka_debug:dev-latest
stdin_open: true
ports:
- 18881:8888
volumes:
- ./worker01:/var/lib/odysseus
worker02:
image: odysseusol/odysseus_kafka_debug:dev-latest
stdin_open: true
ports:
- 18882:8888
volumes:
- ./worker02:/var/lib/odysseus
worker03:
image: odysseusol/odysseus_kafka_debug:dev-latest
stdin_open: true
ports:
- 18883:8888
volumes:
- ./worker03:/var/lib/odysseus
As this is not a root container under linux you will need to give write access to user with uid=999 gid=1000 or for any user:
sudo chmod 777 -R worker0*