Created question in FIWARE Q/A platform on 21-06-2022 at 13:06
Please, ANSWER this question AT https://stackoverflow.com/questions/72701569/mqtt-orion-fiware-docker
Question:
Mqtt Orion Fiware Docker
Description:
I am trying to enable my Docker container mosquitto, but i don't know where can i find a config file, in order to set up a remote connection. If someone knows please help!
This is the error:
Here is my docker compose file:
version: "3.3"
services:
iot-mongo:
image: mongo:4.2
ports:
- "27017:27017"
volumes:
- ./data10/mongo:/data
orion:
image: fiware/orion
ports:
- "1026:1026"
depends_on:
- iot-mongo
command: -dbhost iot-mongo
iot-agent:
image: fiware/iotagent-json
expose:
- "7896"
ports:
- "4041:4041"
- "7896:7896"
depends_on:
- iot-mongo
- orion
volumes:
- ./config.js:/opt/ioatjson/config.js
environment:
- IOTA_CB_HOST=orion
- IOTA_CB_PORT=1026
- IOTA_NORTH_PORT=4041
- IOTA_REGISTRY_TYPE=iot-mongo
- IOTA_LOG_LEVEL=DEBUG
- IOTA_TIMESTAMP=true
- IOTA_CB_NGSI_VERSION=v2
- IOTA_AUTOCAST=true
- IOTA_MONGO_HOST=iot-mongo
- IOTA_MONGO_PORT=27017
- IOTA_MONGO_DB=iot-agent
- IOTA_PROVIDER_URL=http://iot-agent:4041
- IOTA_PROVIDER_HOST=mosquitto
- IOTA_MQTT_PORT=1883
mosquitto:
image: eclipse-mosquitto
hostname: mosquitto
container_name: mosquitto
expose:
- "1883"
- "9001"
ports:
- "1883:1883"
- "9001:9001"
2022-06-22 05:31|CREATED monitor | # answers= 0, accepted answer= False