[Tutorial] How to create a custom Node-Red Docker Image and conduct Integration Testing using Docker-Compose

So I have been experimenting with Node-Red and have got some good grip on docker and docker-compose. So what better way than to work something up

I documented:

  1. How to build a custom Node-Red image using Docker Multi-Stage Build
  2. Create a simple HTTP API called /health flow and save it to flows.json
  3. Use a simple pytest-docker-compose example to conduct integration test
  4. Provide a CI/CD Pipeline to deploy the custom image to a registry

I have made it very concise and straight to the point.

Write Up

GitHub Repo:

Happy to take some feedback, criticisms, tips from the community

8 Likes