Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

MTConnect Demo - Docker

There are three ways to run the MTConnect demo:

  • All processes in a single Ubuntu container
  • All processes in a single Alpine container
  • Composed Alpine adapter containers and agent Alpine containers

Building the images

Building the Demo for Ubunto

From the demo directory build the docker image:

    docker build -t mtconnect-demo:latest -f Dockerfile ..

Building the Demo for Alpine

From the demo directory build the docker image:

    docker build -t mtconnect-demo:latest -f Dockerfile.alpine ..

Building the Demo for with Docker Compose

From the demo/compose directory

    docker compose build

Running the demo mapping the host's port 5001 to port 5000

    docker run -it --rm -p 5001:5000 mtconnect-demo

Then open a browser to http://localhost:5001/

Running the docker compose version

   docker compose up

Then open a browser to http://localhost:5001/

Morty Proxy This is a proxified and sanitized view of the page, visit original site.