You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "Dominik Riemer (Jira)" <ji...@apache.org> on 2022/11/26 15:15:00 UTC

[jira] [Commented] (STREAMPIPES-515) Missing mapping in dev compose files for new docker-compose versions

    [ https://issues.apache.org/jira/browse/STREAMPIPES-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17639381#comment-17639381 ] 

Dominik Riemer commented on STREAMPIPES-515:
--------------------------------------------

This issue has been migrated to https://github.com/apache/streampipes/issues/667

>  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
>            Assignee: Stefan Obermeier
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.70.0
>
>
> 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.10#820010)