FSM REST API & TSP Solver: Docker Containers


 

The FSM system is shipped with 2 Docker Containers, one for the FSM REST API Connector, and the other for the TSP Solver API.  Herewith the procedure to install the 2 Docker Containers on a docker compatible platform.  The scripts describe a Linux environment.

StepAction
Step 1Copy the fsm-Optimizer-deployment-package.zip file to the designated server.
Step 2Unzip the file to a location with sufficient disk space.
Step 3Create an images directory (images/).
Step 4

Copy the two images to the images directory:/<your user>/<home>/fsm/images/

fsm-client.tar

tsp-planner.tar

Step 5Copy the Docker Compose file to:/<your user>/<home>/fsm/docker-compose.yml
Step 6

Load both Docker images:

docker load -i images/fsm-client.tar

docker load -i images/tsp-planner.tar

You should see messages like:

"Loaded image: fsm-client:latest"

"Loaded image: tsp-planner:latest"

Step 7

Configure the docker-container.yml file services:

fsm-app:

image: fsm-client:latest

container_name: fsm-client

ports:

"8090:8090"

restart: always

tsp-planner:

image: tsp-planner:latest

container_name: tsp-planner

ports: "5000:5000"

restart: always

Step 8

Start both services:

docker compose up -d

Step 9

Verify that both Docker containers are running:

docker ps

Step 10

Confirm the following containers are running:

fsm-client — port 8090

tsp-planner — port 5000

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Field Service Management 26.2