forked from IDisposable/docker-wyze-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (61 loc) · 2.86 KB
/
Copy pathdocker-compose.yml
File metadata and controls
61 lines (61 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
image: idisposablegithub365/wyze-bridge:latest-hw
labels:
tsdproxy.container_port: "8080"
tsdproxy.enable: "true"
network_mode: host
ports:
- 1935:1935/tcp # RTMP rtmp://localhost:1935/mystream?user=myuser&pass=mypass
- 1936:1936/tcp # RTMP rtmps://localhost:1936/mystream?user=myuser&pass=mypass
- 2935:2935/tcp # RTMPS rtmps://localhost:2935/mystream?user=myuser&pass=mypass
- 2936:2936/tcp # RTMPS rtmps://localhost:2936/mystream?user=myuser&pass=mypass
- 8004:8000/udp # RTSP UDP/RTP rtsp://localhost:8000/mystream
- 8001:8001/udp # RTSP UDP/RTCP rtsp://localhost:8001/mystream
- 8002:8002/udp # RTSP RTP Multicast
- 8003:8003/udp # RTSP RTCP Multicast control
- 8189:8189/udp # WebRTC ICE/UDP
- 8322:8322/tcp # TCP/TLS/RTSPS rtsps://localhost:8322/mystream
- 8554:8554/tcp # RTSP rtsp://localhost:8554/mystream
- 8888:8888/tcp # HLS http://localhost:8888/mystream
- 8889:8889/tcp # WebRTC http://localhost:8889/mystream and http://localhost:8889/mystream/whep
- 8890:8890/udp # SRT UDP srt://localhost:8890?streamid=read:mystream:myuser:mypass
- 5000:5000/tcp # WEB-UI http://localhost:5000/mystream
environment:
# [OPTIONAL] Credentials can be set in the WebUI
# API Key and ID can be obtained from the wyze dev portal:
# https://developer-api-console.wyze.com/#/apikey/view
- WYZE_EMAIL=${WYZE_EMAIL}
- WYZE_PASSWORD=${WYZE_PASSWORD}
- API_ID=${API_ID}
- API_KEY=${API_KEY}
# [OPTIONAL] IP Address of the host to enable WebRTC e.g.,:
- WB_IP=192.168.0.160
# WebUI and Stream authentication:
- WB_AUTH=True # Set to false to disable web and stream auth.
- WB_USERNAME=${WB_USERNAME}
- WB_PASSWORD=${WB_PASSWORD}
- WB_RTSP_URL=rtsp://localhost:8004/
# - ROTATE_DOOR=True
# - H264_ENC=h264_nvenc
# - FFMPEG_CMD=ffmpeg -loglevel verbose -f h264 -c:v h264_cuvid -i - -c:v h264_nvenc -rtsp_transport tcp -f rtsp rtsp://0.0.0.0:8554/{cam_name}
# - NVIDIA_VISIBLE_DEVICES=all
# - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
# - FILTER_NAMES=Front Deck, Side Door,
- IGNORE_OFFLINE=True
# devices:
# - /dev:/dev
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
# networks:
# - npm_net
# networks:
# npm_net:
# external: true