Skip to content

Instantly share code, notes, and snippets.

@alanb128
alanb128 / docker-compose.yml
Created June 22, 2021 18:45
Simple Pi 3 Home Assistant on Balena
version: '2'
volumes:
config:
services:
homeassistant:
image: homeassistant/raspberrypi3-homeassistant:stable
ports:
- 80:8123
privileged: true
volumes:
@alanb128
alanb128 / Dockerfile
Created June 14, 2021 14:53
Mosquitto 2 Broker container
FROM arm32v6/eclipse-mosquitto
# Override v2 default behavior and allow remote access
# also allow anonymous connections
RUN \
sed -i 's/#listener/listener 1883/' /mosquitto/config/mosquitto.conf && \
sed -i 's/#allow_anonymous false/allow_anonymous true/' /mosquitto/config/mosquitto.conf