Compare commits

...
43 Commits
Author SHA1 Message Date
jlehmann 0ea032dfb9 add config to traefik for gitea 2026-09-17 19:14:27 +02:00
jlehmann ed7c77638a new doc 2025-09-20 11:39:09 +02:00
jlehmann 4fc69bbf93 Upgrade to new version 2025-09-19 20:57:43 +02:00
jlehmann 30fb854435 revert Update Wordpress Image 2025-09-13 19:53:00 +02:00
jlehmann f22511e353 Update Wordpress Image - try with Version 8.1 as 8.4 makes problems 2025-09-13 19:51:19 +02:00
jlehmann 04fa3c56a5 Update Wordpress Image 2025-09-13 19:43:39 +02:00
jlehmann 93c79dfd63 update wo-bisch-web because of address 2025-05-14 06:35:56 +02:00
jlehmann bd61befd6b update mini-beieli-web because of address 2025-05-13 19:56:29 +02:00
jlehmann 90e3486762 bind-mount-options do no longer work with new podman version 2024-11-21 15:09:14 +01:00
jlehmann c23cb6c4f5 Merge branch 'master' of https://git.nbit.ch/drpuur/onyx_pods 2024-08-10 18:16:09 +02:00
jlehmann 44831f2239 with Network=pasta:-T,25:25 we can use localhost 2024-08-10 18:15:49 +02:00
jlehmann e4be94fd43 fix README 2024-08-10 14:09:54 +02:00
jlehmann cd1e469f57 update README 2024-08-09 18:09:56 +02:00
jlehmann 964cb5503e describe installing Postfix as Mailrelay 2024-08-09 17:26:49 +02:00
jlehmann 1156416c6f Upgrade Version to disable ordering functionality 2024-05-24 14:47:06 +02:00
jlehmann 139b143fa8 Upgrade Version because of Character Set Problem with E-Mails 2024-05-04 17:12:37 +02:00
jlehmann 1c549a9fba traefik config changed behaviour with new version 2024-05-03 12:17:14 +02:00
jlehmann 2ff171d0b8 use pasta for podman networking 2023-11-29 19:47:34 +01:00
jlehmann 9f7e7acef8 User LogDriver for Quadelts (available with newer Podman Version) 2023-11-28 17:22:49 +01:00
jlehmann 60ada2b793 upgrade influxdb 2023-10-21 08:20:34 +02:00
jlehmann ed0502efc4 add posibility to configure nginx (i.e. for 404 page) 2023-10-20 19:30:23 +02:00
jlehmann d7c6cbe046 Merge branch 'master' of https://git.nbit.ch/drpuur/onyx_pods 2023-10-20 14:53:39 +02:00
jlehmann bc6b930573 because of quadlet 2023-10-20 14:53:11 +02:00
jlehmann 47796f6252 Merge branch 'master' of https://git.nbit.ch/drpuur/onyx_pods 2023-10-20 14:40:49 +02:00
jlehmann 2406c68a24 Persistent Storage for Journald 2023-10-20 14:40:39 +02:00
jlehmann 97e45199ff Use Persistent Volume for Apache Logs because of Quadlet passthrough Logging 2023-10-20 14:33:00 +02:00
jlehmann bea523a733 Fix Service for acmoag.com 2023-10-20 12:16:33 +02:00
jlehmann 7fbc31ceaf Include Link to Quadlet Overview 2023-10-20 11:12:59 +02:00
jlehmann c871d1f6ed Change to Quadlets for starting Podman Containers (with .kube files in ~containers/.config/containers/systemd) 2023-10-20 11:11:43 +02:00
jlehmann a440320eee linux-freelancer.ch Domain does no longer exist 2023-07-01 13:14:35 +02:00
jlehmann 6dc44ddeb9 add hostPort because of promblems with new podman version, see https://github.com/containers/podman/pull/15946 2023-05-20 11:02:07 +02:00
jlehmann d8d11ef779 add capability to telegraf as there were errors after OS upgrade 2023-03-22 20:02:52 +01:00
jlehmann 5558b7c93f moved docker registry from gitlab to self-hosted service @ git.nbit.ch 2023-03-07 19:17:46 +01:00
jlehmann 1d9420433a add README for gitea 2023-03-04 19:16:32 +01:00
jlehmann 7ea4072fd3 add Gitea as git server 2023-03-03 17:47:10 +01:00
jlehmann bbae3bc335 working version (finally, Stripe) 2023-02-03 20:37:03 +01:00
jlehmann 08183ce1dc new versions with new stripe functionality (create customer) 2023-02-03 17:33:09 +01:00
jlehmann b179dfe931 document grafana-agent modifications so it can read logfiles 2022-12-30 15:19:36 +01:00
jlehmann 40d33b682f document howto set gitlab registry authentication 2022-12-30 12:14:34 +01:00
jlehmann 9bd494567f document firewall rule for mqtt access 2022-12-29 19:39:44 +01:00
jlehmann 7fc2bd9163 do not expose influxdb port by default 2022-12-29 19:39:07 +01:00
jlehmann a7f240bf35 add wobisch.ch service 2022-12-29 19:38:17 +01:00
jlehmann ebb627658d new image with timezone support 2022-12-28 19:13:29 +01:00
16 changed files with 394 additions and 27 deletions
+90 -1
View File
@@ -26,12 +26,22 @@ Set Root-Password (by hand)
# groupadd containers # groupadd containers
# useradd -m -g containers containers # useradd -m -g containers containers
# passwd containers # passwd containers
For containers User, add the following to ~/.bash_profile:
# User specific environment and startup programs
export XDG_RUNTIME_DIR=/run/user/$(id -u)
# hostnamectl set-hostname onyx.nbit.ch # hostnamectl set-hostname onyx.nbit.ch
# timedatectl set-timezone Europe/Zurich # timedatectl set-timezone Europe/Zurich
# dnf install glibc-langpack-de # dnf install glibc-langpack-de
# localectl set-locale LANG=en_US.UTF-8 # localectl set-locale LANG=en_US.UTF-8
# localectl set-locale LC_TIME=de_CH.UTF-8 # localectl set-locale LC_TIME=de_CH.UTF-8
Set Journalctl-Config to persistent Storage:
/etc/systemd/journald.conf:
Storage=persistent
# Enable Selinux in Enforcing Mode: change /etc/selinux/config # Enable Selinux in Enforcing Mode: change /etc/selinux/config
# dnf install setroubleshoot # dnf install setroubleshoot
` `
@@ -47,6 +57,8 @@ enable EPEL Repo:
# dnf install firewalld # dnf install firewalld
# firewall-cmd --add-service={http,https} --permanent # firewall-cmd --add-service={http,https} --permanent
# firewall-cmd --remove-service=cockpit --permanent # firewall-cmd --remove-service=cockpit --permanent
# firewall-cmd --add-port=1883/tcp --permanent ; only for MQTT
# firewall-cmd --add-port=25/tcp --permanent ; for Postfix
# firewall-cmd --reload # firewall-cmd --reload
List Rules: List Rules:
@@ -71,6 +83,7 @@ command to check who is banned:
## Install Software ## Install Software
```bash ```bash
# dnf install passt
# dnf install git # dnf install git
# dnf install podman # dnf install podman
# dnf install jq # dnf install jq
@@ -182,7 +195,6 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
### Setup Env for Podman ### Setup Env for Podman
we use /data/<podname> for persitent data:
```bash ```bash
# mkdir /data # mkdir /data
# chown containers:containers /data # chown containers:containers /data
@@ -192,6 +204,18 @@ Set Defaults:
containers$ cat ~/.config/containers/containers.conf containers$ cat ~/.config/containers/containers.conf
[network] [network]
network_backend = "netavark" network_backend = "netavark"
Credentials for Docker Registry should be available after Reboot
[containers@onyx-dev ~]$ podman login git.nbit.ch
Username: jlehmann
Password:
Login Succeeded!
[containers@onyx-dev ~]$ cp /run/user/1000/containers/auth.json ~/.config/containers/auth.json
``` ```
### Setup Traefik ### Setup Traefik
@@ -234,6 +258,29 @@ export XDG_RUNTIME_DIR=/run/user/$(id -u)
containers$ touch /data/traefik/acme.json containers$ touch /data/traefik/acme.json
containers$ chmod 0600 /data/traefik/acme.json containers$ chmod 0600 /data/traefik/acme.json
!!!!!!!!!!!!!!
IMPORTANT: we changed the startup Method to Quadlets, put into
~containers/.config/containers/systemd/
See also https://www.redhat.com/sysadmin/quadlet-podman
Example of such a quadlet config (Network=pasta is not to be used for Traefik):
[containers@onyx-dev ~]$ more ~containers/.config/containers/systemd/onyx-dev-mqtt.kube
[Unit]
Description=MQTT
Before=local-fs.target
[Kube]
Yaml=/home/containers/onyx-dev_pods/mqtt/mqtt.yaml
LogDriver=journald
Network=pasta
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target
!!!!!!!!!!!!!!
containers$ mkdir -p ~/.config/systemd/user/ containers$ mkdir -p ~/.config/systemd/user/
containers$ cd ~/.config/systemd/user/ containers$ cd ~/.config/systemd/user/
@@ -257,7 +304,45 @@ containers$ systemctl --user start podman-kube@$escaped.service
containers$ systemctl --user enable podman-kube@$escaped.service containers$ systemctl --user enable podman-kube@$escaped.service
``` ```
## Postfix
```bash
# dnf install postfix
/etc/postfix/main.cf:
---
inet_interfaces = all
smtpd_tls_security_level = none
virtual_alias_domains = wo-bisch.ch mini-beieli.ch
virtual_alias_maps = hash:/etc/postfix/virtual
---
# tail -12 /etc/postfix/virtual
abuse@mini-beieli.ch nbitinf@nbit.ch
hostmaster@mini-beieli.ch nbitinf@nbit.ch
info@mini-beieli.ch nbitinf@nbit.ch
mail@mini-beieli.ch nbitinf@nbit.ch
postmaster@mini-beieli.ch nbitinf@nbit.ch
register@mini-beieli.ch nbitinf@nbit.ch
abuse@wo-bisch.ch nbitinf@nbit.ch
hostmaster@wo-bisch.ch nbitinf@nbit.ch
info@wo-bisch.ch nbitinf@nbit.ch
mail@wo-bisch.ch nbitinf@nbit.ch
postmaster@wo-bisch.ch nbitinf@nbit.ch
register@wo-bisch.ch nbitinf@nbit.ch
# postmap /etc/postfix/virtual
# systemctl enable postfix
# systemctl start postfix
Creat DNS Records:
mx1.nbit.ch and mx2.nbit.ch (A/AAAA Records to the same IPs as onyx and onyx-dev)
Change SPF Records to include mx1 and mx2
```
## Secondary Nameserver ## Secondary Nameserver
@@ -309,3 +394,7 @@ on master:
``` ```
Read Rights for Grafana Agent:
# setfacl -R -m u:grafana-agent:rX /var/log
+7
View File
@@ -0,0 +1,7 @@
Config of Gitea is done in config/app.ini
To disable the possibility to self-register:
[root@onyx ~]# grep DISABLE_REGISTRATION /data/gitea/config/app.ini
DISABLE_REGISTRATION = true
+55
View File
@@ -0,0 +1,55 @@
---
apiVersion: v1
kind: Pod
metadata:
annotations:
io.kubernetes.cri-o.TTY/gitea: "false"
io.podman.annotations.autoremove/gitea: "FALSE"
io.podman.annotations.init/gitea: "FALSE"
io.podman.annotations.label/gitea: type:container_runtime_t
io.podman.annotations.privileged/gitea: "FALSE"
io.podman.annotations.publish-all/gitea: "FALSE"
labels:
app: gitea-pod
name: gitea-pod
spec:
containers:
- image: docker.io/gitea/gitea:latest-rootless
name: gitea
ports:
- containerPort: 3000
hostPort: 9080
hostIP: 127.0.0.1
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /var/lib/gitea
name: data-gitea-data-0
- mountPath: /etc/gitea
name: data-gitea-config-0
- mountPath: /etc/timezone
name: etc-timezone-0
readOnly: true
- mountPath: /etc/localtime
name: etc-localtime-0
readOnly: true
volumes:
- hostPath:
path: /data/gitea/data
type: Directory
name: data-gitea-data-0
- hostPath:
path: /data/gitea/config
type: Directory
name: data-gitea-config-0
- hostPath:
path: /etc/timezone
type: File
name: etc-timezone-0
- hostPath:
path: /etc/localtime
type: File
name: etc-localtime-0
+10 -9
View File
@@ -2,10 +2,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/data/minibeieli/influxdb: z
bind-mount-options:/data/minibeieli/redis: z
bind-mount-options:/data/minibeieli/lorahandlerdata: z
bind-mount-options:/home/containers/onyx_pods/minibeieli/telegraf.conf: z
io.kubernetes.cri-o.TTY/minibeieli: "false" io.kubernetes.cri-o.TTY/minibeieli: "false"
io.podman.annotations.autoremove/minibeieli: "FALSE" io.podman.annotations.autoremove/minibeieli: "FALSE"
io.podman.annotations.init/minibeieli: "FALSE" io.podman.annotations.init/minibeieli: "FALSE"
@@ -18,8 +14,10 @@ metadata:
spec: spec:
containers: containers:
- name: mini-beieli-web - name: mini-beieli-web
image: registry.gitlab.com/drpuur/mini-beieli-web:2022122601 image: git.nbit.ch/drpuur/mini-beieli-web:2025092001
env: env:
- name: CONFIG_ENVVAR
value: nbit Informatik GmbH<br />Untere Stockteile 16<br />3806 B&ouml;nigen b. Interlaken<br /><br />+41 31 792 00 40<br /><a href='&#109;ai&#108;&#116;o&#58;i&#37;6Ef&#111;&#64;%6Ebi&#116;&#46;%63h'>&#105;nfo&#64;nbit&#46;ch</a>,CHF 200.--,CHF 80.--
- name: REDIS_CONNECTION_STRING - name: REDIS_CONNECTION_STRING
value: 127.0.0.1:6379 value: 127.0.0.1:6379
- name: INFLUX_URL - name: INFLUX_URL
@@ -31,7 +29,7 @@ spec:
- name: STRIPE_PK - name: STRIPE_PK
value: pk_live_G9vgPopd9opsY81AfzguwMrq value: pk_live_G9vgPopd9opsY81AfzguwMrq
- name: MAILSERVER_HOST - name: MAILSERVER_HOST
value: mail.nbit.ch value: 127.0.0.1
ports: ports:
- containerPort: 4000 - containerPort: 4000
hostPort: 9070 hostPort: 9070
@@ -43,7 +41,7 @@ spec:
- CAP_NET_RAW - CAP_NET_RAW
- CAP_AUDIT_WRITE - CAP_AUDIT_WRITE
- name: mini-beieli-lorahandler - name: mini-beieli-lorahandler
image: registry.gitlab.com/drpuur/mini-beieli-lorahandler:2022122601 image: git.nbit.ch/drpuur/mini-beieli-lorahandler:2022122801
env: env:
- name: REDIS_CONNECTION_STRING - name: REDIS_CONNECTION_STRING
value: 127.0.0.1:6379 value: 127.0.0.1:6379
@@ -61,10 +59,10 @@ spec:
- mountPath: /data - mountPath: /data
name: lorahandlerdata name: lorahandlerdata
- name: influxdb - name: influxdb
image: docker.io/library/influxdb:2.6 image: docker.io/library/influxdb:2.7
ports: ports:
- containerPort: 8086 - containerPort: 8086
hostPort: 8086 hostPort: 9072
resources: {} resources: {}
securityContext: securityContext:
capabilities: capabilities:
@@ -80,6 +78,7 @@ spec:
args: ["--save 60 1", "--loglevel warning"] args: ["--save 60 1", "--loglevel warning"]
ports: ports:
- containerPort: 5432 - containerPort: 5432
hostPort: 9073
resources: {} resources: {}
securityContext: securityContext:
capabilities: capabilities:
@@ -98,6 +97,8 @@ spec:
drop: drop:
- CAP_MKNOD - CAP_MKNOD
- CAP_AUDIT_WRITE - CAP_AUDIT_WRITE
add:
- CAP_NET_RAW
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: lorahandlerdata name: lorahandlerdata
+6 -1
View File
@@ -3,7 +3,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/data/nbitwebsite/document_root: z
io.kubernetes.cri-o.TTY/nbitwebsite: "false" io.kubernetes.cri-o.TTY/nbitwebsite: "false"
io.podman.annotations.autoremove/nbitwebsite: "FALSE" io.podman.annotations.autoremove/nbitwebsite: "FALSE"
io.podman.annotations.init/nbitwebsite: "FALSE" io.podman.annotations.init/nbitwebsite: "FALSE"
@@ -29,8 +28,14 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /usr/share/nginx/html - mountPath: /usr/share/nginx/html
name: data-nbitwebsite-host-0 name: data-nbitwebsite-host-0
- mountPath: /etc/nginx/conf.d
name: data-nbitwebsite-config-0
volumes: volumes:
- hostPath: - hostPath:
path: /data/nbitwebsite/document_root path: /data/nbitwebsite/document_root
type: Directory type: Directory
name: data-nbitwebsite-host-0 name: data-nbitwebsite-host-0
- hostPath:
path: /data/nbitwebsite/conf.d
type: Directory
name: data-nbitwebsite-config-0
-1
View File
@@ -3,7 +3,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/data/nbitwiki/config: z
io.kubernetes.cri-o.TTY/nbitwiki: "false" io.kubernetes.cri-o.TTY/nbitwiki: "false"
io.podman.annotations.autoremove/nbitwiki: "FALSE" io.podman.annotations.autoremove/nbitwiki: "FALSE"
io.podman.annotations.init/nbitwiki: "FALSE" io.podman.annotations.init/nbitwiki: "FALSE"
+17
View File
@@ -0,0 +1,17 @@
http:
routers:
gitea:
entrypoints:
- websecure
tls:
certresolver: "myresolver"
domains:
- main: "git.nbit.ch"
rule: "Host(`git.nbit.ch`)"
service: gitea
services:
gitea:
loadBalancer:
servers:
- url: http://127.0.0.1:9080/
+2 -2
View File
@@ -8,7 +8,7 @@ http:
domains: domains:
- main: "mini-beieli.ch" - main: "mini-beieli.ch"
sans: "www.mini-beieli.ch" sans: "www.mini-beieli.ch"
rule: "Host(`mini-beieli.ch`,`www.mini-beieli.ch`)" rule: "Host(`mini-beieli.ch`) || Host(`www.mini-beieli.ch`)"
service: minibeieli-web service: minibeieli-web
minibeieli-lorahandler: minibeieli-lorahandler:
@@ -19,7 +19,7 @@ http:
domains: domains:
- main: "mini-beieli.ch" - main: "mini-beieli.ch"
sans: "www.mini-beieli.ch" sans: "www.mini-beieli.ch"
rule: "Host(`mini-beieli.ch`,`www.mini-beieli.ch`) && PathPrefix(`/lorahandler`)" rule: "Host(`mini-beieli.ch`) && PathPrefix(`/lorahandler`) || Host(`www.mini-beieli.ch`) && PathPrefix(`/lorahandler`)"
service: minibeieli-lorahandler service: minibeieli-lorahandler
services: services:
+2 -2
View File
@@ -7,8 +7,8 @@ http:
certresolver: "myresolver" certresolver: "myresolver"
domains: domains:
- main: "nbit.ch" - main: "nbit.ch"
sans: "www.nbit.ch,linux-freelancer.ch,www.linux-freelancer.ch" sans: "www.nbit.ch"
rule: "Host(`nbit.ch`,`www.nbit.ch`,`linux-freelancer.ch`,`www.linux-freelancer.ch`)" rule: "Host(`nbit.ch`) || Host(`www.nbit.ch`)"
service: nbitwebsite service: nbitwebsite
services: services:
+35
View File
@@ -0,0 +1,35 @@
http:
routers:
wobisch-web:
entrypoints:
- websecure
tls:
certresolver: "myresolver"
domains:
- main: "wo-bisch.ch"
sans: "www.wo-bisch.ch"
rule: "Host(`wo-bisch.ch`) || Host(`www.wo-bisch.ch`)"
service: wobisch-web
wobisch-lorahandler:
entrypoints:
- websecure
tls:
certresolver: "myresolver"
domains:
- main: "wo-bisch.ch"
sans: "www.wo-bisch.ch"
rule: "Host(`wo-bisch.ch`) && PathPrefix(`/lorahandler`) || Host(`www.wo-bisch.ch`) && PathPrefix(`/lorahandler`)"
service: wobisch-lorahandler
services:
wobisch-web:
loadBalancer:
servers:
- url: http://127.0.0.1:9060/
passHostHeader: true
wobisch-lorahandler:
loadBalancer:
servers:
- url: http://127.0.0.1:9061/
passHostHeader: true
+3 -3
View File
@@ -8,11 +8,11 @@ http:
domains: domains:
- main: "www.acmoag.com" - main: "www.acmoag.com"
sans: "acmoag.com" sans: "acmoag.com"
rule: "Host(`acmoag.com`,`www.acmoag.com`)" rule: "Host(`acmoag.com`) || Host(`www.acmoag.com`)"
service: wordpresscmoag service: wordpressacmoag
services: services:
wordpresscmoag: wordpressacmoag:
loadBalancer: loadBalancer:
servers: servers:
- url: http://127.0.0.1:9030/ - url: http://127.0.0.1:9030/
-2
View File
@@ -3,8 +3,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/home/containers/onyx_pods/traefik/configuration: z
bind-mount-options:/data/traefik/acme.json: z
io.kubernetes.cri-o.TTY/traefik: "false" io.kubernetes.cri-o.TTY/traefik: "false"
io.podman.annotations.autoremove/traefik: "FALSE" io.podman.annotations.autoremove/traefik: "FALSE"
io.podman.annotations.init/traefik: "FALSE" io.podman.annotations.init/traefik: "FALSE"
+31
View File
@@ -0,0 +1,31 @@
[global_tags]
# Configuration for telegraf agent
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 100000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
debug = false
quiet = false
logfile = ""
hostname = ""
omit_hostname = false
[[inputs.tail]]
files = ["/data/wo-bisch-lorahandler.log"]
from_beginning = false
pipe = false
tagexclude = ["path","host"]
data_format = "influx"
# Configuration for sending metrics to InfluxDB 2.0
[[outputs.influxdb_v2]]
urls = ["http://127.0.0.1:8086"]
token = "OMFWazmSYezw2vVw2cC6pbvMXKaQpzjgN7nemstXifQtQAINeBSXNR66Z6PB2CemTHUdbz5IBIbRdBpcPXZ4FQ=="
organization = "wobischorg"
bucket = "wobischbucket"
+124
View File
@@ -0,0 +1,124 @@
apiVersion: v1
kind: Pod
metadata:
annotations:
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: git.nbit.ch/drpuur/wo-bisch-web:2025051401
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: 127.0.0.1
ports:
- containerPort: 4000
hostPort: 9060
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
- name: wo-bisch-lorahandler
image: git.nbit.ch/drpuur/wo-bisch-lorahandler:2022122801
env:
- name: REDIS_CONNECTION_STRING
value: 127.0.0.1:6379
- name: MAILSERVER_HOST
value: 127.0.0.1
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.7
ports:
- containerPort: 8086
hostPort: 9062
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
hostPort: 9063
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
add:
- CAP_NET_RAW
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
+6 -3
View File
@@ -2,9 +2,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/data/wordpressacmoag/wp: z
bind-mount-options:/home/containers/onyx_pods/wordpressacmoag/uploads.ini: z
bind-mount-options:/data/wordpressacmoag/db: z
io.kubernetes.cri-o.TTY/wordpressacmoag: "false" io.kubernetes.cri-o.TTY/wordpressacmoag: "false"
io.podman.annotations.autoremove/wordpressacmoag: "FALSE" io.podman.annotations.autoremove/wordpressacmoag: "FALSE"
io.podman.annotations.init/wordpressacmoag: "FALSE" io.podman.annotations.init/wordpressacmoag: "FALSE"
@@ -65,6 +62,8 @@ spec:
name: data-wordpressacmoag-wp-0 name: data-wordpressacmoag-wp-0
- mountPath: /usr/local/etc/php/conf.d/uploads.ini - mountPath: /usr/local/etc/php/conf.d/uploads.ini
name: data-wordpressacmoag-wp-1 name: data-wordpressacmoag-wp-1
- mountPath: /var/log/apache2
name: data-wordpressacmoag-logs-0
restartPolicy: Never restartPolicy: Never
volumes: volumes:
- hostPath: - hostPath:
@@ -79,3 +78,7 @@ spec:
path: /data/wordpressacmoag/db path: /data/wordpressacmoag/db
type: Directory type: Directory
name: data-wordpressacmoag-dp-0 name: data-wordpressacmoag-dp-0
- hostPath:
path: /data/wordpressacmoag/logs
type: Directory
name: data-wordpressacmoag-logs-0
+6 -3
View File
@@ -2,9 +2,6 @@ apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
annotations: annotations:
bind-mount-options:/data/wordpresscmoag/wp: z
bind-mount-options:/home/containers/onyx_pods/wordpresscmoag/uploads.ini: z
bind-mount-options:/data/wordpresscmoag/db: z
io.kubernetes.cri-o.TTY/wordpresscmoag: "false" io.kubernetes.cri-o.TTY/wordpresscmoag: "false"
io.podman.annotations.autoremove/wordpresscmoag: "FALSE" io.podman.annotations.autoremove/wordpresscmoag: "FALSE"
io.podman.annotations.init/wordpresscmoag: "FALSE" io.podman.annotations.init/wordpresscmoag: "FALSE"
@@ -65,6 +62,8 @@ spec:
name: data-wordpresscmoag-wp-0 name: data-wordpresscmoag-wp-0
- mountPath: /usr/local/etc/php/conf.d/uploads.ini - mountPath: /usr/local/etc/php/conf.d/uploads.ini
name: data-wordpresscmoag-wp-1 name: data-wordpresscmoag-wp-1
- mountPath: /var/log/apache2
name: data-wordpresscmoag-logs-0
restartPolicy: Never restartPolicy: Never
volumes: volumes:
- hostPath: - hostPath:
@@ -79,3 +78,7 @@ spec:
path: /data/wordpresscmoag/db path: /data/wordpresscmoag/db
type: Directory type: Directory
name: data-wordpresscmoag-dp-0 name: data-wordpresscmoag-dp-0
- hostPath:
path: /data/wordpresscmoag/logs
type: Directory
name: data-wordpresscmoag-logs-0