You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "Stefan Obermeier (Jira)" <ji...@apache.org> on 2022/03/13 15:50:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Stefan Obermeier resolved STREAMPIPES-515.
------------------------------------------
Resolution: Implemented
> 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
>
> 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)