International-Data-Spaces-Association/IDS-testbed

Testbed isn't running - The Compose file './docker-compose.yml' is invalid

arianman opened this issue · 5 comments

Hi everyone,

IDS-testbed# docker-compose up -d
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for volumes: 'broker-fuseki'
Unsupported config option for networks: 'local'
Unsupported config option for services: 'omejdn'

Any comment?
Hi prio, because of the demo at Hannover...

Hi @arianman!
Which version of docker-compose are you using?
It should be version 1.27.4 as detailed in the InstallationGuide.md.
Try following this section Target View: Preconfigured testbed

This is:

If your docker-compose version is not the required one execute the following commands.

sudo apt-get install curl
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Restart your machine in order to use the required version of docker-compose. Then try again with docker-compose up

Hi @jfernandezsqs , thanks a lot for quick reply!
As you know Ubuntu's default is 1.25.
I've updated to 1.27, things seem to run okay, but I have this error at the end:

`
Creating omejdn ... error
Creating omejdn-server ... done
Creating broker-core ... done
Creating broker-reverseproxy ... done
Creating omejdn-ui ... done
ERROR: for omejdn Cannot start service omejdn: driver failed programming externCreating connectora ... done
Creating broker-fuseki ... done
Creating connectorb ... done

ERROR: for omejdn Cannot start service omejdn: driver failed programming external connectivity on endpoint omejdn (78771c5356b24d1ef84c5ab5533eb05295a5cedf816022857f3772032784c587): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
`

Apache is running on port 80! It's a fresh VM. Is apache a part of the installation?

Yes, I see you have port 80 allocated.
Try it again changing the docker-compose.yml file line 7 to;

    ports:
      - 82:80

This should fix the error. We will take it into account for future documentation updates.

Fixed it! thanks a lot!