Created
January 10, 2025 22:42
-
-
Save alexandregz/e8328c63e292641ad32b14ba4e1bf006 to your computer and use it in GitHub Desktop.
docker compose empregado en portainer con raspberry4 para home asssistant
This file contains hidden or 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: | |
container_name: homeassistant | |
image: "ghcr.io/home-assistant/home-assistant:stable" | |
volumes: | |
- /docker/homeassistant:/config | |
- /etc/localtime:/etc/localtime:ro | |
- /run/dbus:/run/dbus:ro | |
restart: unless-stopped | |
privileged: true | |
network_mode: host | |
mqtt: | |
container_name: mosquitto | |
image: eclipse-mosquitto:1.6 | |
ports: | |
- "1883:1883" | |
- "9001:9001" | |
volumes: | |
- /docker/mosquitto/config:/mqtt/config | |
- /docker/mosquitto/log:/mqtt/log | |
- /docker/mosquitto/data/:/mqtt/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment