Skip to content

Commit

Permalink
Add tailscale docker-compose sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Jun 29, 2024
1 parent 5b6adca commit 583ff73
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docker-compose.tailscale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
services:
tailscale:
image: tailscale/tailscale:latest
container_name: tailscale
hostname: wyze-bridge # For tailscale
restart: unless-stopped
ports:
- 8554:8554 # RTSP
- 8889:8889 #WebRTC
- 8189:8189/udp # WebRTC/ICE
- 5000:5000 # WEB-UI
cap_add: [NET_ADMIN]
environment:
- TS_AUTHKEY=tskey-client-notAReal-OAuthClientSecret1Atawk
- TS_EXTRA_ARGS=--accept-routes
- TS_USERSPACE=false
volumes:
- /dev/net/tun:/dev/net/tun
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
image: mrlt8/wyze-bridge:latest
depends_on: [tailscale]
network_mode: service:tailscale
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=

0 comments on commit 583ff73

Please sign in to comment.