Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-19713

FIWARE.Question.Tech.FIWARE ORION MQTT MONGO docker compose.

    Details

      Description

      Created question in FIWARE Q/A platform on 16-06-2022 at 14:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/72647674/fiware-orion-mqtt-mongo-docker-compose

      Question:
      FIWARE ORION MQTT MONGO docker compose

      Description:
      This is my docker-compose.yml file that i want to run in docker-compose
      version: '2.4'
      services:
      iot-mongo:
      image: mongo:4.2
      ports:

      • "27017:27017"
        volumes:
      • ./data/mongo:/data

      iot-agent:
      image: fiware/iotagent-json
      ports:

      • "4041:4041"
        links:
      • iot-mongo
      • orion
      • mosquitto
        volumes:
      • ./config.js:/opt/iotajson/config.js
        mosquitto:
        image: toke/mosquitto
        ports:
      • "1883:1883"
      • "9001:9001"
        orion:
        image: fiware/orion:1.9.0
        links:
      • iot-mongo
        ports:
      • "1026:1026"
        command: -dbhost iot-mongo

      When i want to execute it with a docker-compose up, it gives me error "yaml: line 20: did not find expected key". Can someone please give me a hint how to start my docker-compose.yml file without error?
      Thank you!!!!

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2022-06-17 05:31|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2022-06-17 05:31|CREATED monitor | # answers= 0, accepted answer= False

          People

          • Assignee:
            fla Fernando Lopez
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: