Open Exchange App IRIS-NativeAPI-Nodejs-compact

Primary tabs

This is a follow-up to my previous article WebSocket Client JS with IRIS Native API as Docker Micro Server

Installation is now much simpler as all pieces are now assembled in a single Docker image.
That makes life easier. But of course, the principle of the Micro Service is not so obvious anymore.
An All-in-1 bundled package. Therefore compact.

The behavior hasn't changed. So you might interpret it as a minor backward-compatible release.

It includes intersystems/iris-community:2020.2.0.204.0

All you need to do now is:

  • docker pull rcemper/rcc:iris-nodejs-compact (once)
  • docker run --rm --init -d \ --name=iris1 -p 52773:52773 -p 51773:51773 \ rcemper/rcc:iris-nodejs-compact (start the container)
  • docker exec -it iris1 bash wsgo.sh (start the micro service)
  • docker exec -it iris1 bash wsdemo.sh (start control to create test data, send to echoServer, receive it)
  • docker exec -it iris1 bash wsstop.sh (evetually stop service if not done from control)
  • docker stop iris1 (terminate the container)

That's it.