Sign inSign up

techmanrobotinc/tmrobot-mgt-api

By techmanrobotinc

Updated over 5 years ago

TM Robot Management API

Image
0

1.1K

techmanrobotinc/tmrobot-mgt-api repository overview

TM Robot Management API

Quick reference

Maintained by: Techman Robot Inc.

Environment requirement

  • Linux (Preferred) Ubuntu Bionic 18.04 (LTS)

Supports

TM Robot Software Version: 1.72 / 1.76 / 1.80 and above

APIs: Socket / WebAPI / Rabbit MQ

How to use this image

Option 1. Docker
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

Option2: Docker Compose
  1. Create a folder

    mkdir robot-management-api
    cd robot-management-api
    touch docker-compose.yml
    
  2. 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

  3. execution

    docker-compose up -d
    
Rabbit MQ Setting

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 NameDescription
IPRabbit MQ Server IP
PortRabbit MQ Server Port
UserNameRabbit MQ User Account
PasswordRabbit MQ User Password
VHostRabbitMQ Virtual Host Name
ExchangeRabbitMQ Exchange Name
TMRobotInfoRouteRouting key TM Robot Data
TMRobotVariableRouteRouting key TM Robot Variable
Launch

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

Manual Documentation

Please go Techman Robot Inc. download center for relevant information.

Tag summary

Content type

Image

Digest

Size

81.8 MB

Last updated

over 5 years ago

docker pull techmanrobotinc/tmrobot-mgt-api