onyx_pods/wobisch/wobisch.yaml

126 lines
3.4 KiB
YAML

apiVersion: v1
kind: Pod
metadata:
annotations:
bind-mount-options:/data/wobisch/influxdb: z
bind-mount-options:/data/wobisch/redis: z
bind-mount-options:/data/wobisch/lorahandlerdata: z
bind-mount-options:/home/containers/onyx_pods/wobisch/telegraf.conf: z
io.kubernetes.cri-o.TTY/wobisch: "false"
io.podman.annotations.autoremove/wobisch: "FALSE"
io.podman.annotations.init/wobisch: "FALSE"
io.podman.annotations.label/wobisch: type:container_runtime_t
io.podman.annotations.privileged/wobisch: "FALSE"
io.podman.annotations.publish-all/wobisch: "FALSE"
labels:
app: wobisch-pod
name: wobisch-pod
spec:
containers:
- name: wo-bisch-web
image: registry.gitlab.com/drpuur/wo-bisch-web:2023020304
env:
- name: REDIS_CONNECTION_STRING
value: 127.0.0.1:6379
- name: INFLUX_URL
value: http://127.0.0.1:8086/api/v2/query?org=wobischorg
- name: INFLUX_RO_TOKEN
value: hVK-DQk3kQhrTndYCvv8T1c99nSdpUe2wPAzEMH77rpuDKLbEdsI-Ten6S09EPlgKBCPVypYohMNO9AYbt0MlQ==
- name: STRIPE_KEY
value: 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
- name: STRIPE_PK
value: pk_live_51Icq29K2XyHQRTs2oNQMPT75m7J96ajcKDADEE8FCSA3WWD98je6IZgN0E7Q2t5Vccdu1ar5kQZUIjbPhRluTkS500rgdMr0dF
- name: MAILSERVER_HOST
value: mail.nbit.ch
ports:
- containerPort: 4000
hostPort: 9060
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
- name: wo-bisch-lorahandler
image: registry.gitlab.com/drpuur/wo-bisch-lorahandler:2022122801
env:
- name: REDIS_CONNECTION_STRING
value: 127.0.0.1:6379
- name: MAILSERVER_HOST
value: mail.nbit.ch
ports:
- containerPort: 8080
hostPort: 9061
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /data
name: lorahandlerdata
- name: influxdb
image: docker.io/library/influxdb:2.6
ports:
- containerPort: 8086
hostPort: 8087
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /var/lib/influxdb2
name: influxdb
- name: redis
image: docker.io/library/redis:7
args: ["--save 60 1", "--loglevel warning"]
ports:
- containerPort: 5432
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /data
name: redis
- name: telegraf
image: docker.io/library/telegraf:1.25
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /data
name: lorahandlerdata
- mountPath: /etc/telegraf/telegraf.conf
name: telegrafconf
restartPolicy: Always
volumes:
- hostPath:
path: /data/wobisch/influxdb
type: Directory
name: influxdb
- hostPath:
path: /data/wobisch/redis
type: Directory
name: redis
- hostPath:
path: /data/wobisch/lorahandlerdata
type: Directory
name: lorahandlerdata
- hostPath:
path: /home/containers/onyx_pods/wobisch/telegraf.conf
type: File
name: telegrafconf