123 lines
3.3 KiB
YAML
123 lines
3.3 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
bind-mount-options:/data/minibeielidev/influxdb: z
|
|
bind-mount-options:/data/minibeielidev/redis: z
|
|
bind-mount-options:/data/minibeielidev/lorahandlerdata: z
|
|
bind-mount-options:/home/containers/onyx-dev_pods/minibeielidev/telegraf.conf: z
|
|
io.kubernetes.cri-o.TTY/minibeielidev: "false"
|
|
io.podman.annotations.autoremove/minibeielidev: "FALSE"
|
|
io.podman.annotations.init/minibeielidev: "FALSE"
|
|
io.podman.annotations.label/minibeielidev: type:container_runtime_t
|
|
io.podman.annotations.privileged/minibeielidev: "FALSE"
|
|
io.podman.annotations.publish-all/minibeielidev: "FALSE"
|
|
labels:
|
|
app: minibeielidev-pod
|
|
name: minibeielidev-pod
|
|
spec:
|
|
containers:
|
|
- name: mini-beieli-web
|
|
image: registry.gitlab.com/drpuur/mini-beieli-web:2022122601
|
|
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=minibeieliorg
|
|
- name: INFLUX_RO_TOKEN
|
|
value: o9V-_rvQrC1VuwR59wFCqWVWQ-FYnP18CBpEaLzVBec7AtDO65M-dU3EFD6pSNtTSIQMEQY_IqqCI2_z6JBQ7Q==
|
|
- name: STRIPE_KEY
|
|
value: sk_test_GJbXPD0IAFNvvGpNEpaeDfhl
|
|
- name: STRIPE_PK
|
|
value: pk_test_YkSGqH3Tk9WKK9HrlY63GhAg
|
|
- name: MAILSERVER_HOST
|
|
value: mail.nbit.ch
|
|
ports:
|
|
- containerPort: 4000
|
|
hostPort: 9050
|
|
resources: {}
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- CAP_MKNOD
|
|
- CAP_NET_RAW
|
|
- CAP_AUDIT_WRITE
|
|
- name: mini-beieli-lorahandler
|
|
image: registry.gitlab.com/drpuur/mini-beieli-lorahandler:2022122601
|
|
env:
|
|
- name: REDIS_CONNECTION_STRING
|
|
value: 127.0.0.1:6379
|
|
ports:
|
|
- containerPort: 8080
|
|
hostPort: 9051
|
|
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/minibeielidev/influxdb
|
|
type: Directory
|
|
name: influxdb
|
|
- hostPath:
|
|
path: /data/minibeielidev/redis
|
|
type: Directory
|
|
name: redis
|
|
- hostPath:
|
|
path: /data/minibeielidev/lorahandlerdata
|
|
type: Directory
|
|
name: lorahandlerdata
|
|
- hostPath:
|
|
path: /home/containers/onyx-dev_pods/minibeielidev/telegraf.conf
|
|
type: File
|
|
name: telegrafconf
|