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.
| Step | Action |
|---|---|
| Step 1 | Copy the fsm-Optimizer-deployment-package.zip file to the designated server. |
| Step 2 | Unzip the file to a location with sufficient disk space. |
| Step 3 | Create 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 5 | Copy 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 |