Public Repository

Last pushed: 2 months ago
Short Description
Rapid application integration and orchestration without limits.
Full Description

Using official TORO Integrate Docker Image

TORO Integrate provides everything you need to integrate all your legacy and cloud-based applications and services, consume APIs, publish your own APIs, log transactions, and create reports.

http://www.toro.io/toro-integrate
http://docs.toro.io/toro-integrate/quick-start-guide

This guide is about how you can run TORO Integrate using the Official Docker image and how you should mount the folders to your container so that data will be persistent even if you upgraded your instance.

Important folders. "/data" is the home folder of TORO Integrate.

* /data/data - this directory contains all Solr Data, Hypersonic Database, ActiveMQ Data and Override Property file.
* /data/packages - this directory contains all Packages/Adapters installed on TORO Integrate
* /data/logs - this directory contains all logs created by TORO Integrate
* /root/.java - directory which Java uses to store application preferences

Part 1: This assumes you are installing TORO Integrate for the first time.

  1. Create the folders in you host machine where you want to store the Important Data TORO Integrate is using.
    • Assuming I want to put them under /opt/apps/toro-integrate
      mkdir -p /opt/apps/toro-integrate/data packages logs java
  2. Now lets start the container using the following command.
    docker run -p 8080:8080 \
    -v /opt/apps/toro-integrate/data:/data/data \
    -v /opt/apps/toro-integrate/packages:/data/packages \
    -v /opt/apps/toro-integrate/logs:/data/logs \
    -v /opt/apps/toro-integrate/java:/root/.java \
    --privileged=true \
    --name toro-integrate \
    toroio/integrate
    

Part 2: When you already have TORO Integrate on your machine and you want to upgrade that to a docker instance.

  1. Process will be the same but this time you can mount the old folders from the old instance into the docker container just like on Part 1.2.a

     docker run -p 8080:8080 \
     -v /opt/apps/existing-toro-integrate/data:/data/data \
     -v /opt/apps/existing-toro-integrate/packages:/data/packages \
     -v /opt/apps/existing-toro-integrate/logs:/data/logs \
     -v /opt/apps/existing-toro-integrate/java:/root/.java \
     --privileged=true \
     --name toro-integrate \
     toroio/integrate
    

Note: If you've enabled HTTPS on TORO Integrate, you just need to add the port on the docker run command.

docker run -p 8080:8080 -p 8443:8443 \
-v /opt/apps/toro-integrate/data:/data/data \
-v /opt/apps/toro-integrate/packages:/data/packages \
-v /opt/apps/toro-integrate/logs:/data/logs \
-v /opt/apps/toro-integrate/java:/root/.java \
--privileged=true \
--name toro-integrate \
toroio/integrate

Need more documentations?

Docker Pull Command
Owner
toroio