MirrorNest
← すべてのガイド

Node-RED

Node-RED is a flow-based visual programming tool for wiring together hardware, APIs, and online services, with an official Docker image maintained by the project.

このガイドは上記リンク先にあるNode-RED公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Run the official image

    This maps the editor to port 1880 and stores your flows and settings in the node_red_data named volume so they survive container restarts.

    docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest
  2. 2Open the editor

    Browse to http://<host-ip>:1880 to access the Node-RED flow editor.

  3. 3Add extra nodes (optional)

    Node-RED's official images are built on Node.js Alpine to stay small; if a community node needs native compilation, build your own image FROM nodered/node-red and install it there, as documented in Node-RED's Docker docs.

  4. 4Use the minimal variant (optional)

    A smaller image tag is available for deployments that don't need the extra bundled dependencies.

    docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest-minimal