Skip to content

Instantly share code, notes, and snippets.

@mitchross
Created December 4, 2022 02:12
Show Gist options
  • Save mitchross/2b6fc2fe89fbf0eac54227caecd8fe03 to your computer and use it in GitHub Desktop.
Save mitchross/2b6fc2fe89fbf0eac54227caecd8fe03 to your computer and use it in GitHub Desktop.
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
privileged: true
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.wyze-bridge.rule=Host(`wyze.lab.xxx.me`)"
- "traefik.http.routers.wyze-bridge.entrypoints=https"
- "traefik.http.routers.wyze-bridge.tls.certResolver=cloudflare"
- "traefik.http.services.wyze-bridge.loadbalancer.server.port=5000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
image: wyze-bridge-hw # Use a prebuilt image
# build: # Uncomment to build from source
# context: ./app # Uncomment to build from source
# dockerfile: Dockerfile.arm # Uncomment to build for arm
ports:
- 1935:1935
- 8554:8554
- 8888:8888
- 4000:5000
environment:
- WYZE_EMAIL=xxxx # Replace with wyze email
- WYZE_PASSWORD=xxxx # Replace with wyze password
- FRESH_DATA=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment