Stefan Obermeier created STREAMPIPES-515:
--------------------------------------------

             Summary:  Missing mapping in dev compose files for new 
docker-compose versions
                 Key: STREAMPIPES-515
                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-515
             Project: StreamPipes
          Issue Type: Bug
            Reporter: Stefan Obermeier


Some _docker-compose.dev.yml_ have no value after the service name.

This seems to be incompatible with docker-compose versions > 1.x .

Errors are something like "services.xxx must be a mapping"

This error could be solved by adding a value.

What do you think about just adding a label to avoid this error?

With this extension docker-compose 2.x and 3.x can be used.

 

Example:

Old:
{code:java}
version: "3.4"
services:
  ui:
{code}
New:
{code:java}
version: "3.4"
services:
  ui:
    labels:
      org.apache.streampipes.dev.ui.service.description: "Dev UI service"
 {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to