...
Code Block |
---|
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
Code Block |
---|
sudo chown 999:1000 worker0*
sudo chmod 755 worker0* |
or give access right for any user:
sudo chmod
777
-R worker0*
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.