You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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        

  • No labels