Skip to content

Instantly share code, notes, and snippets.

@joshuaspence
Created July 29, 2025 22:09
Show Gist options
  • Select an option

  • Save joshuaspence/08467c24f0be0e61e4c6e6d942a1cc09 to your computer and use it in GitHub Desktop.

Select an option

Save joshuaspence/08467c24f0be0e61e4c6e6d942a1cc09 to your computer and use it in GitHub Desktop.
Home Assistant
---
services:
homeassistant:
image: 'ghcr.io/home-assistant/home-assistant:stable'
environment:
TZ: 'Australia/Sydney'
ports:
- '8123:8123'
volumes:
- 'homeassistant:/config'
- '/etc/localtime:/etc/localtime:ro'
mosquitto:
image: 'eclipse-mosquitto:latest'
ports:
- '1883:1883'
volumes:
- 'mosquitto-config:/mosquitto/config'
- 'mosquitto-data:/mosquitto/data'
zigbee2mqtt:
image: 'ghcr.io/koenkk/zigbee2mqtt'
devices:
- '/dev/ttyUSB0:/dev/ttyUSB0'
environment:
TZ: 'Australia/Sydney'
ports:
- '8080:8080'
volumes:
- 'zigbee2mqtt:/app/data'
volumes:
homeassistant: {}
mosquitto-config: {}
mosquitto-data: {}
zigbee2mqtt: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment