add tasmota, make it work on new podman version (add hostPort)
This commit is contained in:
parent
fcdd606fdc
commit
c2186d7817
|
|
@ -64,6 +64,7 @@ spec:
|
||||||
image: docker.io/library/influxdb:2.6
|
image: docker.io/library/influxdb:2.6
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8086
|
- containerPort: 8086
|
||||||
|
hostPort: 9052
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
@ -79,6 +80,7 @@ spec:
|
||||||
args: ["--save 60 1", "--loglevel warning"]
|
args: ["--save 60 1", "--loglevel warning"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
|
hostPort: 9053
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,15 @@ spec:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: datashellies
|
name: datashellies
|
||||||
- name: mqtt2prometheus
|
- name: mqtt2prometheus
|
||||||
|
command: ["/mqtt2prometheus"]
|
||||||
|
args: ["-listen-port","9641","-log-level","warn"]
|
||||||
image: ghcr.io/hikhvar/mqtt2prometheus:latest
|
image: ghcr.io/hikhvar/mqtt2prometheus:latest
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Europe/Zurich
|
value: Europe/Zurich
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9641
|
- containerPort: 9641
|
||||||
|
hostPort: 9081
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
@ -73,6 +76,26 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config.yaml
|
- mountPath: /config.yaml
|
||||||
name: mqtt2prometheusconfig
|
name: mqtt2prometheusconfig
|
||||||
|
- name: mqtt2prometheustasmota
|
||||||
|
command: ["/mqtt2prometheus"]
|
||||||
|
args: ["-listen-port","9642","-log-level","warn"]
|
||||||
|
image: ghcr.io/hikhvar/mqtt2prometheus:latest
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Zurich
|
||||||
|
ports:
|
||||||
|
- containerPort: 9642
|
||||||
|
hostPort: 9082
|
||||||
|
resources: {}
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- CAP_MKNOD
|
||||||
|
- CAP_NET_RAW
|
||||||
|
- CAP_AUDIT_WRITE
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config.yaml
|
||||||
|
name: tasmotamqtt2prometheusconfig
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
image: registry.hub.docker.com/prom/prometheus:latest
|
image: registry.hub.docker.com/prom/prometheus:latest
|
||||||
env:
|
env:
|
||||||
|
|
@ -110,6 +133,10 @@ spec:
|
||||||
path: /data/mqtt/config/mqtt2prometheus-config.yaml
|
path: /data/mqtt/config/mqtt2prometheus-config.yaml
|
||||||
type: File
|
type: File
|
||||||
name: mqtt2prometheusconfig
|
name: mqtt2prometheusconfig
|
||||||
|
- hostPath:
|
||||||
|
path: /data/mqtt/config/tasmotamqtt2prometheus-config.yaml
|
||||||
|
type: File
|
||||||
|
name: tasmotamqtt2prometheusconfig
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /data/mqtt/config/prometheus.yml
|
path: /data/mqtt/config/prometheus.yml
|
||||||
type: File
|
type: File
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ spec:
|
||||||
image: docker.io/library/influxdb:2.6
|
image: docker.io/library/influxdb:2.6
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8086
|
- containerPort: 8086
|
||||||
|
hostPort: 9042
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
@ -81,6 +82,7 @@ spec:
|
||||||
args: ["--save 60 1", "--loglevel warning"]
|
args: ["--save 60 1", "--loglevel warning"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
|
hostPort: 9043
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue