This commit is contained in:
Waylon Walker 2025-11-22 22:20:32 -06:00
parent 8c0277c8f3
commit 9e2c30af22
60 changed files with 8853 additions and 232 deletions

View file

@ -4,11 +4,12 @@ services:
wyze-bridge:
image: mrlt8/wyze-bridge:latest
container_name: wyze-bridge
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- proxy
ports:
- 5000:5000
- 8554:8554
- 8888:8888
environment:
- QUALITY=SD30
- WYZE_EMAIL=${WYZE_EMAIL}
@ -18,23 +19,23 @@ services:
- TZ=America/Chicago
- RECORD_ALL=True
volumes:
- /etc/localtime:/etc/localtime:ro
- ${PWD}/wyze-bridge/data/cams/img:/img
- ${PWD}/wyze-bridge/data/record:/record
- img:/img
- record:/record
labels:
- "traefik.enable=true"
- "traefik.http.routers.cams.entrypoints=http"
- "traefik.http.routers.cams.rule=Host(`cams.${URL}`)"
- "traefik.http.middlewares.cams-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.cams.middlewares=cams-https-redirect"
- "traefik.http.routers.cams-secure.entrypoints=https"
- "traefik.http.routers.cams-secure.rule=Host(`cams.${URL}`)"
- "traefik.http.routers.cams-secure.tls=true"
- "traefik.http.routers.cams-secure.service=cams"
- "traefik.http.services.cams.loadbalancer.server.port=5000"
- "traefik.docker.network=proxy"
kompose.service.expose: cams.wayl.one
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.cams.entrypoints=http"
# - "traefik.http.routers.cams.rule=Host(`cams.${URL}`)"
# - "traefik.http.middlewares.cams-https-redirect.redirectscheme.scheme=https"
# - "traefik.http.routers.cams.middlewares=cams-https-redirect"
# - "traefik.http.routers.cams-secure.entrypoints=https"
# - "traefik.http.routers.cams-secure.rule=Host(`cams.${URL}`)"
# - "traefik.http.routers.cams-secure.tls=true"
# - "traefik.http.routers.cams-secure.service=cams"
# - "traefik.http.services.cams.loadbalancer.server.port=5000"
# - "traefik.docker.network=proxy"
networks:
proxy:
external: true
volumes:
img:
record:

View file

@ -0,0 +1,174 @@
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert --namespace wyze-bridge -o wyze-bridge.yaml
kompose.service.expose: cams.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: wyze-bridge
name: wyze-bridge
namespace: wyze-bridge
spec:
ports:
- name: "5000"
port: 5000
targetPort: 5000
- name: "8554"
port: 8554
targetPort: 8554
- name: "8888"
port: 8888
targetPort: 8888
selector:
io.kompose.service: wyze-bridge
status:
loadBalancer: {}
---
apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: wyze-bridge
namespace: wyze-bridge
spec: {}
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert --namespace wyze-bridge -o wyze-bridge.yaml
kompose.service.expose: cams.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: wyze-bridge
name: wyze-bridge
namespace: wyze-bridge
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: wyze-bridge
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert --namespace wyze-bridge -o wyze-bridge.yaml
kompose.service.expose: cams.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.network/wyze-bridge-default: "true"
io.kompose.service: wyze-bridge
spec:
containers:
- env:
- name: IMG_DIR
value: /img/
- name: QUALITY
value: SD30
- name: RECORD_ALL
value: "True"
- name: SNAPSHOT
value: RTSP1
- name: TZ
value: America/Chicago
- name: WYZE_EMAIL
- name: WYZE_PASSWORD
image: mrlt8/wyze-bridge:latest
name: wyze-bridge
ports:
- containerPort: 5000
hostPort: 5000
protocol: TCP
- containerPort: 8554
hostPort: 8554
protocol: TCP
- containerPort: 8888
hostPort: 8888
protocol: TCP
resources: {}
volumeMounts:
- mountPath: /img
name: img
- mountPath: /record
name: record
restartPolicy: Always
volumes:
- name: img
persistentVolumeClaim:
claimName: img
- name: record
persistentVolumeClaim:
claimName: record
status: {}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kompose.cmd: kompose convert --namespace wyze-bridge -o wyze-bridge.yaml
kompose.service.expose: cams.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: wyze-bridge
name: wyze-bridge
namespace: wyze-bridge
spec:
rules:
- host: cams.wayl.one
http:
paths:
- backend:
service:
name: wyze-bridge
port:
number: 5000
path: /
pathType: Prefix
status:
loadBalancer: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: img
name: img
namespace: wyze-bridge
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: record
name: record
namespace: wyze-bridge
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}