125 lines
3.5 KiB
YAML
125 lines
3.5 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
bind-mount-options:/data/wobischdev/influxdb: z
|
|
bind-mount-options:/data/wobischdev/redis: z
|
|
bind-mount-options:/data/wobischdev/lorahandlerdata: z
|
|
bind-mount-options:/home/containers/onyx-dev_pods/wobischdev/telegraf.conf: z
|
|
io.kubernetes.cri-o.TTY/wobischdev: "false"
|
|
io.podman.annotations.autoremove/wobischdev: "FALSE"
|
|
io.podman.annotations.init/wobischdev: "FALSE"
|
|
io.podman.annotations.label/wobischdev: type:container_runtime_t
|
|
io.podman.annotations.privileged/wobischdev: "FALSE"
|
|
io.podman.annotations.publish-all/wobischdev: "FALSE"
|
|
labels:
|
|
app: wobischdev-pod
|
|
name: wobischdev-pod
|
|
spec:
|
|
containers:
|
|
- name: wo-bisch-web
|
|
image: registry.gitlab.com/drpuur/wo-bisch-web:2022122801
|
|
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: TQvQxxLLAj1kTKWuEqcx7BA-KfE6WtJUeDlPa_Dnvms6Zqf6uh6lMbpXtzcsCjKO_x3PrpxxGDR5E6YnDB5PFg==
|
|
- name: STRIPE_KEY
|
|
value: sk_test_51Icq29K2XyHQRTs20aEeyUHH3WgE6nBkAKUFuXsQtbnZNIP5fap5zTLTaA0XvhIcRHkqt3vJ2nui6df8R9VDuDDh00nhzmWdHr
|
|
- name: STRIPE_PK
|
|
value: pk_test_51Icq29K2XyHQRTs2DeltUIWrbFb5evfJVGaQzMv4r50g8Q7HAUkSFr7BBGv0aP1damXIhM6fZ4Yf9Wz0qW6TpTVi00dWcW7J1O
|
|
- name: MAILSERVER_HOST
|
|
value: mail.nbit.ch
|
|
ports:
|
|
- containerPort: 4000
|
|
hostPort: 9040
|
|
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: 9041
|
|
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
|
|
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/wobischdev/influxdb
|
|
type: Directory
|
|
name: influxdb
|
|
- hostPath:
|
|
path: /data/wobischdev/redis
|
|
type: Directory
|
|
name: redis
|
|
- hostPath:
|
|
path: /data/wobischdev/lorahandlerdata
|
|
type: Directory
|
|
name: lorahandlerdata
|
|
- hostPath:
|
|
path: /home/containers/onyx-dev_pods/wobischdev/telegraf.conf
|
|
type: File
|
|
name: telegrafconf
|