That is the docker-compose file I am using:
version: '3'
services:
homeassistant:
image: homeassistant/raspberrypi3-homeassistant:latest
container_name: homeassistant
restart: always
network_mode: host
volumes:
- /opt/home_assistant/:/config
- /etc/localtime:/etc/localtime:ro
- /opt/ssl:/ssl
homebridge:
image: oznu/homebridge:raspberry-pi
container_name: homebridge
restart: always
network_mode: host
environment:
- TZ=Europe/Berlin
- PGID=1001
- PUID=1001
volumes:
- /media/usbstick/container/homebridge:/homebridge
depends_on:
- homeassistant