49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: auto
|
|
spec:
|
|
containers:
|
|
- name: homeassistant
|
|
image: docker.io/homeassistant/home-assistant:stable
|
|
env:
|
|
- name: TZ
|
|
value: Europe/Berlin
|
|
ports:
|
|
- containerPort: 8123
|
|
hostIP: 127.0.0.1
|
|
hostPort: 8123
|
|
- containerPort: 8300
|
|
hostIP: 192.168.10.3
|
|
hostPort: 8300
|
|
volumeMounts:
|
|
- name: homeassistant-config
|
|
mountPath: /config
|
|
- name: pki-certs
|
|
mountPath: /etc/pki
|
|
readOnly: true
|
|
- name: zwave-js
|
|
image: docker.io/zwavejs/zwave-js-ui:latest
|
|
ports:
|
|
- containerPort: 8091
|
|
hostPort: 8091
|
|
- containerPort: 3000
|
|
hostPort: 3000
|
|
volumeMounts:
|
|
- name: zwavejs-store
|
|
mountPath: /usr/src/app/store
|
|
securityContext:
|
|
capabilities:
|
|
add: ["SYS_RAWIO"]
|
|
volumes:
|
|
- name: homeassistant-config
|
|
hostPath:
|
|
path: /etc/homeassistant
|
|
- name: pki-certs
|
|
hostPath:
|
|
path: /etc/pki
|
|
- name: zwavejs-store
|
|
persistentVolumeClaim:
|
|
claimName: zwavejs-store # Assuming you have a PVC named `zwavejs-store` for persistent storage
|
|
restartPolicy: Always
|