TM Robot Management API
1.1K
Maintained by: Techman Robot Inc.
TM Robot Software Version: 1.72 / 1.76 / 1.80 and above
APIs: Socket / WebAPI / Rabbit MQ
docker run --net=host techmanrobotinc/tmrobot-mgt-api -v /yourpath:/app/Log -e _USERINFO="[{\"UserName\": \"Admin\",\"Password\": \"admin\"}]"
Don't forget modify yourpath and the value of Password
Create a folder
mkdir robot-management-api
cd robot-management-api
touch docker-compose.yml
Edit docker-compose.yml
version: '3'
services:
ServiceEngineCore:
image: techmanrobotinc/tmrobot-mgt-api:latest
container_name: "tmrobot-mgt-api"
network_mode: "host"
environment:
_ENVIRONMENT: "production"
_USERINFO: "[{\"UserName\": \"Admin\",\"Password\": \"admin\"}]"
volumes:
- /yourpath:/app/Log
Don't forget modify yourpath and the value of Password
execution
docker-compose up -d
Please add the following settings to the docker-compose.yml file and rerun.
environment:
_RABBITMQSETTIMG: "{
\"IP\":\"127.0.0.1\",
\"Port\":5672,
\"UserName\":\"Test\",
\"Password\":\"Test\",
\"VHost\":\"/\",\"Exchange\":\"Topic\",
\"TMRobotInfoRoute\":\"test.queue.1\",
\"TMRobotVariableRoute\":\"test.queue.2\"
}"
| Variable Name | Description |
|---|---|
| IP | Rabbit MQ Server IP |
| Port | Rabbit MQ Server Port |
| UserName | Rabbit MQ User Account |
| Password | Rabbit MQ User Password |
| VHost | RabbitMQ Virtual Host Name |
| Exchange | RabbitMQ Exchange Name |
| TMRobotInfoRoute | Routing key TM Robot Data |
| TMRobotVariableRoute | Routing key TM Robot Variable |
Launch the URL http://your-ip-address:9832/HttpServer/TestRobotApiConnectnect for the Success as the service of TM Robot Management API started successfully.
Don't forget change example as your host name or IP address
Please go Techman Robot Inc. download center for relevant information.
Content type
Image
Digest
Size
81.8 MB
Last updated
over 5 years ago
docker pull techmanrobotinc/tmrobot-mgt-api