forked from mrlt8/docker-wyze-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.ovpn.yml
38 lines (38 loc) · 1.15 KB
/
docker-compose.ovpn.yml
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
services:
openvpn:
image: dperson/openvpn-client
container_name: openvpn
restart: unless-stopped
ports: # Configure all ports here:
- 1935:1935 # RTMP
- 8554:8554 # RTSP
- 8888:8888 # HLS
- 8889:8889 #WebRTC
- 8189:8189/udp # WebRTC/ICE
- 5000:5000 # WEB-UI
dns: [8.8.8.8]
cap_add: [NET_ADMIN]
command: '-f /vpn/config.ovpn'
volumes:
# Set path to your ovpn config
- ${PWD}/config.ovpn:/vpn/config.ovpn
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
image: mrlt8/wyze-bridge:latest
depends_on: [openvpn]
network_mode: service:openvpn
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_PASSWORD=
- API_ID=
- API_KEY=
# [OPTIONAL] IP Address of the host to enable WebRTC e.g.,:
# - WB_IP=192.168.1.122
# WebUI and Stream authentication:
- WB_AUTH=True # Set to false to disable web and stream auth.
# WB_USERNAME=
# WB_PASSWORD=