diff --git a/fighter/config/home-assistant/docker-compose.yml b/fighter/config/home-assistant/docker-compose.yml index 691fdd0..e5d04b9 100644 --- a/fighter/config/home-assistant/docker-compose.yml +++ b/fighter/config/home-assistant/docker-compose.yml @@ -4,7 +4,8 @@ services: image: lscr.io/linuxserver/homeassistant:latest container_name: home-assistant_home-assistant env_file: - - home-assistant.env + - path: home-assistant.env + required: true networks: - web - home-assistant @@ -28,6 +29,23 @@ services: - 12883:1883 - 19001:9001 + wyze-bridge: + image: mrlt8/wyze-bridge + container_name: home-assistant_wyze-bridge + networks: + - web + env_file: + - path: ./wyze-bridge.env + required: true + - path: wyze-bridge_secrets.env + required: false + ports: + - 11935:1935 # RTMP + - 18554:8554 # RTSP + - 19090:8888 # HLS + - 19091:8889 # WebRTC + - 19092:8189/udp # WebRTC/ICE + networks: web: external: true diff --git a/fighter/config/home-assistant/wyze-bridge.env b/fighter/config/home-assistant/wyze-bridge.env new file mode 100644 index 0000000..dd16140 --- /dev/null +++ b/fighter/config/home-assistant/wyze-bridge.env @@ -0,0 +1,7 @@ +# [OPTIONAL] IP Address of the host to enable WebRTC e.g.,: +WB_IP=192.168.1.23 +# [CUSTOM PORTS] For reverse proxy compatibility +WB_RTSP_URL=rtsp://192.168.1.23:18554/ +WB_RTMP_URL=rtmp://192.168.1.23:11935/ +WB_HLS_URL=http://192.168.1.23:19090/ +WB_WEBRTC_URL=http://192.168.1.23:19091/