Home / Setup Guides / Docker Compose

Node-RED with Docker Compose - Alexa Setup Guide

Deploy Node-RED alongside Mosquitto MQTT broker and other services using Docker Compose. Ideal for multi-container smart home stacks with reproducible configuration.

Requirements

Min RAM 1GB (2GB recommended for multi-container)
Min Storage 2GB
OS Any OS with Docker and Docker Compose support
Node.js Included in container
  • Docker Engine 20.10+
  • Docker Compose v2+
  • Network access for Alexa cloud integration

Installation

Docker Compose ~10-15 minutes
  1. 1 Install Docker and Docker Compose on your system
  2. 2 Create a project directory: mkdir ~/nodered-stack && cd ~/nodered-stack
  3. 3 Create a docker-compose.yml file defining Node-RED and Mosquitto services
  4. 4 Create data directories: mkdir -p nodered-data mosquitto/config mosquitto/data mosquitto/log
  5. 5 Run the stack: docker compose up -d
  6. 6 Access Node-RED at http://localhost:1880
  7. 7 MQTT broker available at localhost:1883
  8. 8 Install Alexa integration node via the palette manager inside Node-RED
Official documentation →

Alexa Integration

Docker Compose is ideal for running Node-RED with supporting services like MQTT. Cloud-based Alexa nodes work out of the box. Local-only nodes (amazon-echo, wemo-emulator) may need network_mode: host for device discovery on the local network.

node-red-contrib-dulonode

Fully compatible in Docker Compose

Works

node-red-contrib-alexa-home-skill

Cloud-based, works without extra Docker config

Works

node-red-contrib-virtual-smart-home

Cloud-based, works without extra Docker config

Works

node-red-contrib-amazon-echo

Requires network_mode: host or port mapping for UPnP discovery

Works

node-red-contrib-wemo-emulator

Requires network_mode: host for local network discovery

Works

node-red-contrib-alexa-remote2-applestrudel

Works in Docker Compose without extra configuration

Works

node-red-contrib-alexa-notifyme

Cloud-based, works without extra Docker config

Works

Looking for an Alexa integration node?

There are several Node-RED nodes that support all devices devices with Alexa. Compare features, setup difficulty, and pricing to find the right fit.

Compare Nodes

Platform Info

Platform
Docker Compose
Category
container
Install Method
Docker Compose
Recommended Node
node-red-contrib-dulonode

Not sure which node to pick?

See the most downloaded Node-RED Alexa nodes in 2026, ranked by real npm stats. Find the right fit for your smart home setup.

View Top Nodes 2026