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
From the demo
directory build the docker image:
docker build -t mtconnect-demo:latest -f Dockerfile ..
From the demo
directory build the docker image:
docker build -t mtconnect-demo:latest -f Dockerfile.alpine ..
From the demo/compose
directory
docker compose build
docker run -it --rm -p 5001:5000 mtconnect-demo
Then open a browser to http://localhost:5001/
- For the mazak: http://localhost:5001/twin/index.html?device=Mazak
- For the Okuma: http://localhost:5001/twin/index.html?device=OKUMA
docker compose up
Then open a browser to http://localhost:5001/
- For the mazak: http://localhost:5001/twin/index.html?device=Mazak
- For the Okuma: http://localhost:5001/twin/index.html?device=OKUMA