Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
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
- All
- Comments
- History
- Activity
- Transitions
2022-06-17 05:31|CREATED monitor | # answers= 0, accepted answer= False