services:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:stable
volumes:
- ./config:/config
- ./media:/media
- /run/dbus:/run/dbus:ro
environment:
- TZ=Europe/Berlin
restart: unless-stopped
networks:
- default
ports:
- "8123:8123"
- "5683:5683/udp"
privileged: true
devices:
- "/dev/ttyAMA0:/dev/ttyAMA0"
- "/dev/vchiq:/dev/vchiq"