-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdahuavto2mqtt-deployment.yaml
41 lines (41 loc) · 1.02 KB
/
dahuavto2mqtt-deployment.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: dahuavto2mqtt
name: dahuavto2mqtt
spec:
replicas: 1
selector:
matchLabels:
name: dahuavto2mqtt
template:
metadata:
labels:
name: dahuavto2mqtt
spec:
hostname: dahuavto2mqtt
restartPolicy: Always
containers:
- image: ghcr.io/butads/dahuavto2mqtt:v1.0.1
imagePullPolicy: "IfNotPresent"
name: dahuavto2mqtt
env:
- name: DAHUA_VTO_HOST
value: 192.168.2.52
- name: DAHUA_VTO_PASSWORD
value: # Get from PW manager
- name: DAHUA_VTO_USERNAME
value: admin
- name: DEBUG
value: "true"
- name: MQTT_BROKER_HOST
value: mosquitto
- name: MQTT_BROKER_PASSWORD
value: # Get from PW manager
- name: MQTT_BROKER_PORT
value: "1883"
- name: MQTT_BROKER_TOPIC_PREFIX
value: DahuaVTO
- name: MQTT_BROKER_USERNAME
value: mosquitto