-
-
Save ram1505/42b638829f469a5d66eecf000b57b22e to your computer and use it in GitHub Desktop.
docker-compose file for setting up homeassistant, node-red, and mqtt services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
homeassistant: | |
image: homeassistant/home-assistant | |
ports: | |
- "8123:8123" | |
- "3218:3218" | |
volumes: | |
- /opt/docker/home-assistant:/config | |
- /etc/localtime:/etc/localtime:ro | |
nodered: | |
image: nodered/node-red-docker:slim | |
ports: | |
- "1880:1880" | |
volumes: | |
- /opt/docker/nodered:/data | |
mqtt: | |
image: toke/mosquitto | |
ports: | |
- "1883:1883" | |
- "9001:9001" | |
volumes: | |
- /opt/docker/mqtt/config:/mqtt/config:ro | |
- /opt/docker/mqtt/log:/mqtt/log | |
- /opt/docker/mqtt/data:/mqtt/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment