Compare commits
150 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e86091f7d | |||
| 754564167f | |||
| 40f5532570 | |||
| 0a2efb86ac | |||
| b40090dec1 | |||
| 2370f005c6 | |||
| 05fa40ff5d | |||
| ef77ab9285 | |||
| e0fd669f7c | |||
| 877cda7be1 | |||
| 0887848d29 | |||
| 565c4c8bd0 | |||
| 998cd150a1 | |||
| 1a1cded065 | |||
| a66cef8a9e | |||
| d67ec2af65 | |||
| 6592bfe309 | |||
| 23b66875e4 | |||
| 80750369da | |||
| f189a742cd | |||
| c973d491ce | |||
| ee93b504fa | |||
| 6caf521c1f | |||
| 0f2ff3fa52 | |||
| 6f49a21b3d | |||
| d92d2c31a6 | |||
| 6ca0a7b051 | |||
| 1d08156d81 | |||
| a8c657d554 | |||
| 9e020af94d | |||
| ec9ae43bee | |||
| e822b76982 | |||
| 876b044d0a | |||
| e459b0d262 | |||
| 99bbc31325 | |||
| fee5fafeb0 | |||
| 25c1baf1c3 | |||
| 184c469c51 | |||
| 6291423776 | |||
| d063513869 | |||
| 0cd8a3272d | |||
| 9de82b7295 | |||
| 1338bbb6ae | |||
| 789c75d253 | |||
| 3c37d283da | |||
| 231d8fd492 | |||
| 6d46261dff | |||
| 82c397af2c | |||
| c0acfc338c | |||
| 7956ca930b | |||
| c5887cb6d6 | |||
| 2d5aca0df3 | |||
| 56f2622225 | |||
| a3525c7ab6 | |||
| e0550cbe54 | |||
| f3d0b7e404 | |||
| 8bc11a6db7 | |||
| 22d5c38bac | |||
| 8f29f9e645 | |||
| a2d69962ed | |||
| a993456653 | |||
| 3bfd8afb43 | |||
| e12cc36266 | |||
| 4539f00e61 | |||
| 0fdb79519d | |||
| 6be3d58aad | |||
| f05c1b39cc | |||
| 98ec1bf3b2 | |||
| f6736de333 | |||
| 04081723e7 | |||
| a47111cce1 | |||
| 56d39399d6 | |||
| 7ca41bb929 | |||
| a2e68c1745 | |||
| cf26da036e | |||
| 283688cf2a | |||
| 47ca9140d5 | |||
| fc6f6c5bda | |||
| ce28c03c5d | |||
| 35710fe5ea | |||
| 3c31024828 | |||
| 9ce2cc2c25 | |||
| 013824af38 | |||
| 33629d2f2d | |||
| c6533a92f1 | |||
| ec6262ce6c | |||
| 9db5517659 | |||
| 82bb8bab45 | |||
| c7ec82eae0 | |||
| 5836c8e9b4 | |||
| 35986cb892 | |||
| 386e764713 | |||
| df5afe1695 | |||
| c5bbe3d17f | |||
| 9d996ee0ec | |||
| b29db876d5 | |||
| 7ba27a7e4f | |||
| 0fb59899c9 | |||
| cb991b5d0c | |||
| 0c7f5b6291 | |||
| a261ff3e72 | |||
| 5c2dc27954 | |||
| f5cb8f48c6 | |||
| dee4f0fac3 | |||
| 9d7dff645a | |||
| fcc0bc5ef8 | |||
| be3c5e431e | |||
| 80dfd75227 | |||
| 9c72b0cab4 | |||
| 289d1ab763 | |||
| 23695bd9a4 | |||
| 1a52aca6db | |||
| 6ec9f6a0ae | |||
| fd97f14293 | |||
| 0c62b28210 | |||
| 6f82023155 | |||
| b73786871e | |||
| 0afa7d91e0 | |||
| 7af4092e32 | |||
| c19de989ce | |||
| 1810e40fb4 | |||
| 6013ea668c | |||
| 1233868f63 | |||
| 7658914ddb | |||
| 7aecce94a1 | |||
| f11126cac3 | |||
| 4431c44991 | |||
| c65cf19bd2 | |||
| c7ff367cdf | |||
| a2686fac96 | |||
| 9214a4dde2 | |||
| a52f8ccf8d | |||
| fbe9eeec21 | |||
| fc1df98503 | |||
| e4b36e7822 | |||
| 6b2f69feaa | |||
| 03b8af9b78 | |||
| b98a0928cd | |||
| c9bc5cadc4 | |||
| 51581714ed | |||
| a8610dc27e | |||
| ad449b9e72 | |||
| ddb2797b10 | |||
| 8b14b0e99e | |||
| 2b260bc2eb | |||
| d4f09f2cd9 | |||
| 8a807d3e5c | |||
| 8b4b0df92c | |||
| da1e8045d0 | |||
| fd73c41152 |
@@ -30,7 +30,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: actualbudget
|
||||
image: actualbudget/actual-server:26.2.0
|
||||
image: actualbudget/actual-server:26.6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
+62
-14
@@ -44,12 +44,37 @@ data:
|
||||
"requireConfig": "optional",
|
||||
"dependencyDashboard": true,
|
||||
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
|
||||
"prHourlyLimit": 8,
|
||||
"prConcurrentLimit": 8,
|
||||
"enabledManagers": ["kubernetes", "helm-values"],
|
||||
"prHourlyLimit": 16,
|
||||
"prConcurrentLimit": 16,
|
||||
"enabledManagers": ["kubernetes", "helm-values", "custom.regex"],
|
||||
"kubernetes": {
|
||||
"managerFilePatterns": ["/.+\\.ya?ml$/"]
|
||||
},
|
||||
"customManagers": [
|
||||
{
|
||||
"description": "termix: docker image tag is `release-X.Y.Z` but the upstream GitHub release tag_name is `release-X.Y.Z-tag` (different from the release name). regex versioning parses currentValue (no -tag); extractVersion strips the -tag suffix from candidate tag_names so they normalize to the same shape Renovate writes back to the manifest.",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["/termix-system/.+\\.ya?ml$/"],
|
||||
"matchStrings": [
|
||||
"image:\\s+(?<depName>ghcr\\.io/lukegus/termix):(?<currentValue>release-\\d+\\.\\d+\\.\\d+)"
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"packageNameTemplate": "Termix-SSH/Termix",
|
||||
"versioningTemplate": "regex:^release-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
||||
"extractVersionTemplate": "^(?<version>release-\\d+\\.\\d+\\.\\d+)"
|
||||
},
|
||||
{
|
||||
"description": "linuxserver servarr apps (prowlarr, radarr, sonarr) use tag pattern `version-X.Y.Z.B` (4 segments + `version-` prefix). The kubernetes manager's default docker versioning rejects them at the pre-check (same failure class as termix), so no PRs ever open. Use regex versioning to parse the prefixed 4-segment form; depName is captured from the regex so the same customManager handles all three apps.",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["/servarr-system/.+\\.ya?ml$/"],
|
||||
"matchStrings": [
|
||||
"image:\\s+linuxserver/(?<depName>prowlarr|radarr|sonarr):(?<currentValue>version-\\d+\\.\\d+\\.\\d+\\.\\d+)"
|
||||
],
|
||||
"datasourceTemplate": "docker",
|
||||
"packageNameTemplate": "linuxserver/{{depName}}",
|
||||
"versioningTemplate": "regex:^version-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "All apps: 3-day stability gate before any PR opens",
|
||||
@@ -90,17 +115,40 @@ data:
|
||||
],
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"description": "termix: use github-releases as datasource (ghcr.io OCI manifest for this image lacks the release timestamp Renovate needs for the stability gate; GitHub Releases at Termix-SSH/Termix expose proper timestamps so the 3-day gate works as intended). regex versioning parses the release-X.Y.Z prefix. Renovate still writes the new tag to the same ghcr.io/lukegus/termix image (the registry hosts every release).",
|
||||
"matchPackageNames": ["ghcr.io/lukegus/termix"],
|
||||
"datasource": "github-releases",
|
||||
"packageName": "Termix-SSH/Termix",
|
||||
"versioning": "regex:^release-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
|
||||
},
|
||||
{
|
||||
"description": "wanderer: db + web update together in one PR",
|
||||
"matchPackageNames": ["flomp/wanderer-db", "flomp/wanderer-web"],
|
||||
"groupName": "wanderer"
|
||||
},
|
||||
{
|
||||
"description": "meilisearch: every version bump can require an index format migration via dump/restore (see https://www.meilisearch.com/docs/learn/update_and_migration/updating). PR #32 (v1.11.3 -> v1.45.2) on 2026-06-06 broke wanderer with `Your database version (1.11.3) is incompatible with your current engine version (1.45.2)`. Hold ALL meilisearch updates behind dashboard approval so the migration is planned before the PR even opens.",
|
||||
"matchPackageNames": ["getmeili/meilisearch"],
|
||||
"dependencyDashboardApproval": true
|
||||
},
|
||||
{
|
||||
"description": "Postgres-family images: a major bump (e.g. 16 -> 17) requires pg_upgrade or dump/restore — the new server binary refuses to open the old data directory (`database files are incompatible with server`). PR #76 (immich-app/postgres 16 -> 17) on 2026-06-06 crashlooped immich-postgres and immich-server. Renovate's docker versioning treats these custom tag formats inconsistently, so don't trust the major/minor classification: hold ALL updates for these images behind explicit dashboard approval. Includes vanilla postgres, postgis/postgis (where the tag prefix IS the pg major), and ghcr.io/immich-app/postgres (custom `N-vectorchordX.Y.Z` form).",
|
||||
"matchPackageNames": [
|
||||
"postgres",
|
||||
"postgis/postgis",
|
||||
"ghcr.io/immich-app/postgres"
|
||||
],
|
||||
"dependencyDashboardApproval": true
|
||||
},
|
||||
{
|
||||
"description": "termix: kubernetes manager would extract the image with versioning=docker and silently skip it (release-1.11.0 fails the docker pre-check). Disable that extraction; customManagers above does the real work via github-releases.",
|
||||
"matchManagers": ["kubernetes"],
|
||||
"matchPackageNames": ["ghcr.io/lukegus/termix"],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": "linuxserver servarr apps: same disable pattern as termix. The customManager above handles extraction with the right versioning; turn off the default kubernetes-manager extraction so it doesn't silently skip + clutter the dashboard.",
|
||||
"matchManagers": ["kubernetes"],
|
||||
"matchPackageNames": [
|
||||
"linuxserver/prowlarr",
|
||||
"linuxserver/radarr",
|
||||
"linuxserver/sonarr"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
],
|
||||
"labels": ["renovate"]
|
||||
@@ -114,7 +162,7 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
spec:
|
||||
# Sat 02:00 Europe/Budapest — leaves the full weekend for troubleshooting
|
||||
# if a Renovate-merged update breaks something.
|
||||
@@ -129,14 +177,14 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
annotations:
|
||||
# Renovate uses plain X.Y.Z semver tags (no -slim suffix anymore)
|
||||
match-regex.version-checker.io/renovate: '^\d+\.\d+\.\d+$'
|
||||
@@ -145,7 +193,7 @@ spec:
|
||||
restartPolicy: OnFailure
|
||||
containers:
|
||||
- name: renovate
|
||||
image: renovate/renovate:43.197.0
|
||||
image: renovate/renovate:43.209.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
||||
@@ -90,7 +90,7 @@ spec:
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
containers:
|
||||
- name: tailscale
|
||||
image: tailscale/tailscale:v1.94.1
|
||||
image: tailscale/tailscale:v1.98.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -0,0 +1,344 @@
|
||||
---
|
||||
# ============================================================================
|
||||
# wan-monitor — internet connection quality monitoring
|
||||
# Single pod (3 containers) in admin-system:
|
||||
# - blackbox : prometheus blackbox-exporter (HTTP phases, ICMP, DNS) :9115
|
||||
# - wan-probe : irtt (UDP quality) + iperf3 (throughput) loop -> /shared
|
||||
# - metrics-http : busybox httpd serving /shared/metrics :9116
|
||||
# Prometheus scrapes :9115 (blackbox relabel jobs) and :9116 (textfile metrics).
|
||||
# Scrape jobs live in prometheus-wan-scrape-jobs.yaml (merge into monitoring.yaml).
|
||||
# ============================================================================
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: wan-monitor-blackbox
|
||||
namespace: admin-system
|
||||
labels:
|
||||
app: wan-monitor
|
||||
data:
|
||||
blackbox.yml: |
|
||||
modules:
|
||||
http_2xx:
|
||||
prober: http
|
||||
timeout: 10s
|
||||
http:
|
||||
preferred_ip_protocol: ip4
|
||||
ip_protocol_fallback: false
|
||||
method: GET
|
||||
fail_if_not_ssl: false
|
||||
icmp:
|
||||
prober: icmp
|
||||
timeout: 5s
|
||||
icmp:
|
||||
preferred_ip_protocol: ip4
|
||||
ip_protocol_fallback: false
|
||||
dns_udp:
|
||||
prober: dns
|
||||
timeout: 5s
|
||||
dns:
|
||||
transport_protocol: udp
|
||||
preferred_ip_protocol: ip4
|
||||
query_name: "telex.hu"
|
||||
query_type: "A"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: wan-monitor-scripts
|
||||
namespace: admin-system
|
||||
labels:
|
||||
app: wan-monitor
|
||||
data:
|
||||
metrics-header.prom: |
|
||||
# HELP wan_irtt_rtt_seconds irtt round-trip time by statistic (seconds)
|
||||
# TYPE wan_irtt_rtt_seconds gauge
|
||||
# HELP wan_irtt_jitter_seconds irtt IPDV jitter mean by direction (seconds)
|
||||
# TYPE wan_irtt_jitter_seconds gauge
|
||||
# HELP wan_irtt_loss_ratio irtt packet loss ratio by direction (0-1)
|
||||
# TYPE wan_irtt_loss_ratio gauge
|
||||
# HELP wan_irtt_late_ratio irtt late/reordered packet ratio (0-1)
|
||||
# TYPE wan_irtt_late_ratio gauge
|
||||
# HELP wan_irtt_duplicate_ratio irtt duplicate packet ratio (0-1)
|
||||
# TYPE wan_irtt_duplicate_ratio gauge
|
||||
# HELP wan_irtt_packets irtt packet counters for the run
|
||||
# TYPE wan_irtt_packets gauge
|
||||
# HELP wan_irtt_success 1 if the irtt run produced stats
|
||||
# TYPE wan_irtt_success gauge
|
||||
# HELP wan_throughput_bits_per_second achieved throughput (bits/sec)
|
||||
# TYPE wan_throughput_bits_per_second gauge
|
||||
# HELP wan_throughput_success 1 if the throughput test succeeded
|
||||
# TYPE wan_throughput_success gauge
|
||||
# HELP wan_probe_last_run_timestamp_seconds unix time of last probe run
|
||||
# TYPE wan_probe_last_run_timestamp_seconds gauge
|
||||
|
||||
irtt_to_prom.py: |
|
||||
#!/usr/bin/env python3
|
||||
# irtt JSON (stdin) -> Prometheus sample lines (no HELP/TYPE; header is static).
|
||||
# args: <condition> <target>
|
||||
# Hardened: tolerates missing/null/NaN/Inf fields and clamps ratios to 0..1
|
||||
# so a pathological irtt run can never emit an out-of-range or invalid sample.
|
||||
import json, sys, time, math
|
||||
|
||||
cond = sys.argv[1] if len(sys.argv) > 1 else "idle"
|
||||
target = sys.argv[2] if len(sys.argv) > 2 else "hetzner"
|
||||
L = f'target="{target}",condition="{cond}"'
|
||||
ts = f'{time.time():.0f}'
|
||||
|
||||
def num(x, default=0.0):
|
||||
# finite float or default (handles None / str / missing / NaN / Inf)
|
||||
try:
|
||||
v = float(x)
|
||||
except (TypeError, ValueError):
|
||||
return default
|
||||
return v if math.isfinite(v) else default
|
||||
|
||||
def pct_ratio(x):
|
||||
# percent (0..100, possibly garbage) -> ratio clamped to 0..1
|
||||
return max(0.0, min(1.0, num(x) / 100.0))
|
||||
|
||||
def fail():
|
||||
print(f'wan_irtt_success{{{L}}} 0')
|
||||
print(f'wan_probe_last_run_timestamp_seconds{{probe="irtt",{L}}} {ts}')
|
||||
sys.exit(0)
|
||||
|
||||
try:
|
||||
s = json.load(sys.stdin).get("stats")
|
||||
except Exception:
|
||||
fail()
|
||||
if not isinstance(s, dict):
|
||||
fail()
|
||||
|
||||
rtt = s.get("rtt") or {}
|
||||
for k in ("min", "mean", "median", "max", "stddev"):
|
||||
print(f'wan_irtt_rtt_seconds{{{L},stat="{k}"}} {num(rtt.get(k)) / 1e9}')
|
||||
|
||||
def ipdv(key):
|
||||
d = s.get(key) or {}
|
||||
return num(d.get("mean")) / 1e9
|
||||
|
||||
print(f'wan_irtt_jitter_seconds{{{L},direction="round_trip"}} {ipdv("ipdv_round_trip")}')
|
||||
print(f'wan_irtt_jitter_seconds{{{L},direction="send"}} {ipdv("ipdv_send")}')
|
||||
print(f'wan_irtt_jitter_seconds{{{L},direction="receive"}} {ipdv("ipdv_receive")}')
|
||||
|
||||
print(f'wan_irtt_loss_ratio{{{L},direction="round_trip"}} {pct_ratio(s.get("packet_loss_percent"))}')
|
||||
print(f'wan_irtt_loss_ratio{{{L},direction="upstream"}} {pct_ratio(s.get("upstream_loss_percent"))}')
|
||||
print(f'wan_irtt_loss_ratio{{{L},direction="downstream"}} {pct_ratio(s.get("downstream_loss_percent"))}')
|
||||
print(f'wan_irtt_late_ratio{{{L}}} {pct_ratio(s.get("late_packets_percent"))}')
|
||||
print(f'wan_irtt_duplicate_ratio{{{L}}} {pct_ratio(s.get("duplicate_percent"))}')
|
||||
|
||||
print(f'wan_irtt_packets{{{L},kind="sent"}} {int(num(s.get("packets_sent")))}')
|
||||
print(f'wan_irtt_packets{{{L},kind="received"}} {int(num(s.get("packets_received")))}')
|
||||
print(f'wan_irtt_packets{{{L},kind="server_received"}} {int(num(s.get("server_packets_received")))}')
|
||||
|
||||
print(f'wan_irtt_success{{{L}}} 1')
|
||||
print(f'wan_probe_last_run_timestamp_seconds{{probe="irtt",{L}}} {ts}')
|
||||
|
||||
tput_to_prom.py: |
|
||||
#!/usr/bin/env python3
|
||||
# iperf3 JSON (stdin) -> Prometheus sample lines. args: <direction> <target>
|
||||
import json, sys, time
|
||||
direction = sys.argv[1] if len(sys.argv) > 1 else "download"
|
||||
target = sys.argv[2] if len(sys.argv) > 2 else "hetzner"
|
||||
L = f'target="{target}",direction="{direction}"'
|
||||
ts = f'{time.time():.0f}'
|
||||
try:
|
||||
bps = json.load(sys.stdin)["end"]["sum_received"]["bits_per_second"]
|
||||
print(f'wan_throughput_bits_per_second{{{L}}} {bps:.0f}')
|
||||
print(f'wan_throughput_success{{{L}}} 1')
|
||||
except Exception:
|
||||
print(f'wan_throughput_success{{{L}}} 0')
|
||||
print(f'wan_probe_last_run_timestamp_seconds{{probe="throughput",{L}}} {ts}')
|
||||
|
||||
probe-loop.sh: |
|
||||
#!/bin/sh
|
||||
set -u
|
||||
SHARED=/shared
|
||||
HDR=/scripts/metrics-header.prom
|
||||
HETZNER="${HETZNER_HOST:?set HETZNER_HOST}"
|
||||
IRTT_PORT="${IRTT_PORT:-2112}"
|
||||
IPERF_PORT="${IPERF_PORT:-5201}"
|
||||
IRTT_INTERVAL="${IRTT_INTERVAL:-20ms}"
|
||||
IRTT_DURATION="${IRTT_DURATION:-60}" # seconds (numeric, for timeout math)
|
||||
TPUT_EVERY="${TPUT_EVERY:-900}" # seconds between throughput tests
|
||||
TPUT_TIME="${TPUT_TIME:-10}" # iperf3 seconds per direction
|
||||
IRTT_TARGET="${IRTT_TARGET:-hetzner}"
|
||||
TPUT_TARGET="${TPUT_TARGET:-hetzner}"
|
||||
HMAC_OPT=""
|
||||
[ -n "${IRTT_HMAC:-}" ] && HMAC_OPT="--hmac=${IRTT_HMAC}"
|
||||
|
||||
mkdir -p "$SHARED"
|
||||
: > "$SHARED/.irtt.prom"; : > "$SHARED/.irttload.prom"; : > "$SHARED/.tput.prom"
|
||||
cp "$HDR" "$SHARED/metrics" # serve header immediately so first scrapes don't 404
|
||||
|
||||
# Concatenate fragments into the served file via temp + atomic rename.
|
||||
assemble() {
|
||||
cat "$HDR" "$SHARED/.irtt.prom" "$SHARED/.irttload.prom" "$SHARED/.tput.prom" \
|
||||
> "$SHARED/.metrics.tmp" 2>/dev/null
|
||||
mv "$SHARED/.metrics.tmp" "$SHARED/metrics"
|
||||
}
|
||||
|
||||
# Each fragment is written to <file>.tmp then renamed, so assemble() never
|
||||
# cats a partially written file (the cause of the impossible loss spikes).
|
||||
run_irtt() { # $1 condition $2 outfile $3 duration(seconds)
|
||||
timeout "$(( $3 + 25 ))" irtt client -i "$IRTT_INTERVAL" -d "${3}s" -q $HMAC_OPT \
|
||||
-o - "${HETZNER}:${IRTT_PORT}" 2>/dev/null \
|
||||
| python3 /scripts/irtt_to_prom.py "$1" "$IRTT_TARGET" > "$2.tmp"
|
||||
mv "$2.tmp" "$2"
|
||||
}
|
||||
|
||||
run_tput() {
|
||||
P="${IPERF_PARALLEL:-4}" # parallel streams: a single stream can't fill the pipe over the RTT
|
||||
TO="$(( TPUT_TIME + 20 ))"
|
||||
TMP="$SHARED/.tput.prom.partial"
|
||||
: > "$TMP"
|
||||
timeout "$TO" iperf3 -c "$HETZNER" -p "$IPERF_PORT" -t "$TPUT_TIME" -P "$P" --connect-timeout 5000 -R -J 2>/dev/null \
|
||||
| python3 /scripts/tput_to_prom.py download "$TPUT_TARGET" > "$TMP"
|
||||
timeout "$TO" iperf3 -c "$HETZNER" -p "$IPERF_PORT" -t "$TPUT_TIME" -P "$P" --connect-timeout 5000 -J 2>/dev/null \
|
||||
| python3 /scripts/tput_to_prom.py upload "$TPUT_TARGET" >> "$TMP"
|
||||
mv "$TMP" "$SHARED/.tput.prom"
|
||||
}
|
||||
|
||||
last_tput=0
|
||||
while true; do
|
||||
run_irtt idle "$SHARED/.irtt.prom" "$IRTT_DURATION" # blocks ~IRTT_DURATION = loop cadence
|
||||
assemble
|
||||
now=$(date +%s)
|
||||
if [ $(( now - last_tput )) -ge "$TPUT_EVERY" ]; then
|
||||
LOAD_DUR=$(( 2 * TPUT_TIME + 4 ))
|
||||
run_irtt under_load "$SHARED/.irttload.prom" "$LOAD_DUR" & # concurrent = bufferbloat
|
||||
LOADPID=$!
|
||||
run_tput
|
||||
wait "$LOADPID" 2>/dev/null
|
||||
last_tput="$now"
|
||||
assemble
|
||||
fi
|
||||
done
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: wan-monitor
|
||||
namespace: admin-system
|
||||
labels:
|
||||
app: wan-monitor
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: wan-monitor
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: wan-monitor
|
||||
annotations:
|
||||
enable.version-checker.io/blackbox: "true"
|
||||
enable.version-checker.io/metrics-http: "true"
|
||||
enable.version-checker.io/wan-probe: "true"
|
||||
match-regex.version-checker.io/blackbox: "^v[0-9]+\\.[0-9]+\\.[0-9]+$"
|
||||
match-regex.version-checker.io/metrics-http: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
||||
match-regex.version-checker.io/wan-probe: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
containers:
|
||||
- name: blackbox
|
||||
image: quay.io/prometheus/blackbox-exporter:v0.28.0
|
||||
args:
|
||||
- --config.file=/etc/blackbox/blackbox.yml
|
||||
- --web.listen-address=:9115
|
||||
ports:
|
||||
- name: blackbox
|
||||
containerPort: 9115
|
||||
securityContext:
|
||||
capabilities:
|
||||
add: ["NET_RAW"] # required for the ICMP prober
|
||||
resources:
|
||||
requests: { cpu: 10m, memory: 32Mi }
|
||||
limits: { memory: 64Mi }
|
||||
volumeMounts:
|
||||
- name: blackbox-config
|
||||
mountPath: /etc/blackbox
|
||||
readOnly: true
|
||||
|
||||
- name: wan-probe
|
||||
# Build + push from Dockerfile.wan-probe (adjust registry/tag to taste)
|
||||
image: gitea.dooplex.hu/admin/wan-probe:0.1.0
|
||||
command: ["/bin/sh", "/scripts/probe-loop.sh"]
|
||||
env:
|
||||
- name: HETZNER_HOST
|
||||
# MUST be the Hetzner origin: a DNS-only (grey-cloud) record or raw IP.
|
||||
# NOT the Cloudflare-proxied jarrs.eu — CF only forwards HTTP/HTTPS, so
|
||||
# UDP 2112 (irtt) / TCP 5201 (iperf3) never reach the origin behind it.
|
||||
value: "metrics.jarrs.eu" # DNS-only A record -> Hetzner IPv4
|
||||
- name: IRTT_PORT
|
||||
value: "2112"
|
||||
- name: IPERF_PORT
|
||||
value: "5201"
|
||||
- name: IRTT_INTERVAL
|
||||
value: "20ms"
|
||||
- name: IRTT_DURATION
|
||||
value: "60" # seconds (numeric)
|
||||
- name: TPUT_EVERY
|
||||
value: "900" # 15 min
|
||||
- name: TPUT_TIME
|
||||
value: "10"
|
||||
- name: IPERF_PARALLEL
|
||||
value: "4"
|
||||
- name: IRTT_HMAC # shared key; apply via secret (see below)
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wan-monitor-irtt
|
||||
key: hmac
|
||||
optional: true
|
||||
resources:
|
||||
requests: { cpu: 20m, memory: 48Mi }
|
||||
limits: { memory: 96Mi }
|
||||
volumeMounts:
|
||||
- name: scripts
|
||||
mountPath: /scripts
|
||||
readOnly: true
|
||||
- name: shared
|
||||
mountPath: /shared
|
||||
|
||||
- name: metrics-http
|
||||
image: busybox:1.36
|
||||
command: ["httpd", "-f", "-v", "-p", "9116", "-h", "/shared"]
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9116
|
||||
resources:
|
||||
requests: { cpu: 5m, memory: 8Mi }
|
||||
limits: { memory: 24Mi }
|
||||
volumeMounts:
|
||||
- name: shared
|
||||
mountPath: /shared
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: blackbox-config
|
||||
configMap:
|
||||
name: wan-monitor-blackbox
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: wan-monitor-scripts
|
||||
- name: shared
|
||||
emptyDir: {}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wan-monitor
|
||||
namespace: admin-system
|
||||
labels:
|
||||
app: wan-monitor
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: wan-monitor
|
||||
ports:
|
||||
- name: blackbox
|
||||
port: 9115
|
||||
targetPort: 9115
|
||||
- name: metrics
|
||||
port: 9116
|
||||
targetPort: 9116
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7.2-alpine
|
||||
image: redis:8.8-alpine
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
@@ -96,7 +96,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: init-config
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
|
||||
@@ -54,7 +54,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: audiobookshelf
|
||||
image: advplyr/audiobookshelf:2.35.0
|
||||
image: advplyr/audiobookshelf:2.35.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -77,7 +77,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7-alpine
|
||||
image: redis:8-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- redis-server
|
||||
@@ -168,7 +168,7 @@ spec:
|
||||
initContainers:
|
||||
# Wait for PostgreSQL
|
||||
- name: wait-for-db
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -181,7 +181,7 @@ spec:
|
||||
echo "PostgreSQL is ready!"
|
||||
# Wait for Redis
|
||||
- name: wait-for-redis
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
|
||||
@@ -175,7 +175,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: bookstack
|
||||
image: linuxserver/bookstack:25.12.3
|
||||
image: linuxserver/bookstack:26.05.20260601
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
# LinuxServer.io specific
|
||||
|
||||
@@ -50,7 +50,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: code-server
|
||||
image: codercom/code-server:4.121.0
|
||||
image: codercom/code-server:4.123.0
|
||||
args:
|
||||
- --bind-addr=0.0.0.0:8080
|
||||
- --auth=none
|
||||
|
||||
@@ -169,7 +169,7 @@ spec:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: reloader
|
||||
image: ghcr.io/stakater/reloader:v1.4.12
|
||||
image: ghcr.io/stakater/reloader:v1.4.17
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: GOMAXPROCS
|
||||
|
||||
@@ -57,7 +57,7 @@ replicaCount: 1
|
||||
# Image configuration (optional - use defaults)
|
||||
image:
|
||||
repository: ghcr.io/cloudnative-pg/cloudnative-pg
|
||||
tag: 1.28.1
|
||||
tag: 1.29.1
|
||||
|
||||
# Service configuration
|
||||
service:
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
# Contact Mailer - Lightweight email sender for felhom.eu contact form
|
||||
# Uses Resend.com API for transactional email delivery.
|
||||
#
|
||||
# PREREQUISITES:
|
||||
# 1. Build and push the container image:
|
||||
# docker build -t contact-mailer:latest .
|
||||
# # Option A: Push to Gitea registry (if configured):
|
||||
# # docker tag contact-mailer:latest gitea.felhom.eu/felhom/contact-mailer:latest
|
||||
# # docker push gitea.felhom.eu/felhom/contact-mailer:latest
|
||||
# # Option B: Import directly into k3s (single node):
|
||||
# # docker save contact-mailer:latest | sudo k3s ctr images import -
|
||||
#
|
||||
# 2. Create the Secret with your Resend API key:
|
||||
# kubectl create secret generic contact-mailer-config \
|
||||
# --namespace=felhom-system \
|
||||
# --from-literal=RESEND_API_KEY='re_xxxxxxxxxxxx'
|
||||
#
|
||||
# 3. Apply this manifest:
|
||||
# kubectl apply -f contact-mailer.yaml
|
||||
#
|
||||
# 4. Test:
|
||||
# # Health check:
|
||||
# curl https://felhom.eu/api/healthz
|
||||
# # Send test email (only works if DEBUG=true):
|
||||
# curl -X POST https://felhom.eu/api/debug/test
|
||||
#
|
||||
# 5. Update contact form endpoint in kapcsolat.html:
|
||||
# CONFIG.formEndpoint = '/api/contact';
|
||||
#
|
||||
# DEBUGGING:
|
||||
# kubectl logs -n felhom-system deploy/contact-mailer -f
|
||||
# kubectl exec -it -n felhom-system deploy/contact-mailer -- wget -qO- http://localhost:8080/healthz
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: contact-mailer
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: contact-mailer
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: contact-mailer
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: contact-mailer
|
||||
spec:
|
||||
containers:
|
||||
- name: contact-mailer
|
||||
image: contact-mailer:latest
|
||||
# Use 'Never' for locally imported images, 'Always' for registry
|
||||
imagePullPolicy: Never
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
- name: RESEND_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: contact-mailer-config
|
||||
key: RESEND_API_KEY
|
||||
- name: FROM_EMAIL
|
||||
value: "Felhom.eu <noreply@felhom.eu>"
|
||||
- name: TO_EMAIL
|
||||
value: "info@felhom.eu"
|
||||
- name: ALLOWED_ORIGIN
|
||||
value: "https://felhom.eu"
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
# Set to "true" to enable /debug/test endpoint
|
||||
- name: DEBUG
|
||||
value: "false"
|
||||
resources:
|
||||
requests:
|
||||
memory: "16Mi"
|
||||
cpu: "5m"
|
||||
limits:
|
||||
memory: "64Mi"
|
||||
cpu: "100m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: contact-mailer
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: contact-mailer
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
---
|
||||
# Ingress: routes felhom.eu/api/* to the contact mailer
|
||||
# This is a SEPARATE ingress from the website - nginx-ingress merges them
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: contact-mailer
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
# Allow larger uploads for attachments
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "25m"
|
||||
# Timeout for large file uploads
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "60"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "60"
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- felhom.eu
|
||||
secretName: felhom-webpage-tls
|
||||
rules:
|
||||
- host: felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: contact-mailer
|
||||
port:
|
||||
number: 80
|
||||
@@ -1,194 +0,0 @@
|
||||
# Healthchecks - Self-hosted cron/backup monitoring with dead man's switch
|
||||
# Dashboard: https://status.felhom.eu
|
||||
# Ping endpoint: https://status.felhom.eu/ping/<uuid>
|
||||
#
|
||||
# Customer servers ping this after successful backup.
|
||||
# If a ping is missed, Healthchecks sends email alerts.
|
||||
#
|
||||
# After deploying, create superuser:
|
||||
# kubectl exec -it -n felhom-system deploy/healthchecks -- python manage.py createsuperuser
|
||||
#
|
||||
# SMTP: Configure the Secret below with your email provider credentials.
|
||||
# Recommended free options:
|
||||
# - Resend.com (3000 emails/month free, easy setup)
|
||||
# - Brevo/Sendinblue (300 emails/day free)
|
||||
# - SMTP2GO (1000 emails/month free)
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: healthchecks-data
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: healthchecks
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: healthchecks
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: healthchecks
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: healthchecks
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 999
|
||||
containers:
|
||||
- name: healthchecks
|
||||
image: healthchecks/healthchecks:v4.0
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
# --- Site settings ---
|
||||
- name: SITE_ROOT
|
||||
value: "https://status.felhom.eu"
|
||||
- name: SITE_NAME
|
||||
value: "Felhom Monitoring"
|
||||
- name: ALLOWED_HOSTS
|
||||
value: "status.felhom.eu"
|
||||
- name: PING_ENDPOINT
|
||||
value: "https://status.felhom.eu/ping/"
|
||||
- name: DEBUG
|
||||
value: "False"
|
||||
- name: REGISTRATION_OPEN
|
||||
value: "False"
|
||||
- name: DB
|
||||
value: "sqlite"
|
||||
- name: DB_NAME
|
||||
value: "/data/hc.sqlite"
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
|
||||
# --- Secrets (from Secret) ---
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: SECRET_KEY
|
||||
- name: SUPERUSER_EMAIL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: SUPERUSER_EMAIL
|
||||
- name: SUPERUSER_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: SUPERUSER_PASSWORD
|
||||
- name: EMAIL_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_HOST
|
||||
- name: EMAIL_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_PORT
|
||||
- name: EMAIL_HOST_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_HOST_USER
|
||||
- name: EMAIL_HOST_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_HOST_PASSWORD
|
||||
- name: EMAIL_USE_TLS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_USE_TLS
|
||||
- name: EMAIL_USE_VERIFICATION
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: EMAIL_USE_VERIFICATION
|
||||
- name: DEFAULT_FROM_EMAIL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: healthchecks-config
|
||||
key: DEFAULT_FROM_EMAIL
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v3/status/
|
||||
port: 8000
|
||||
httpHeaders:
|
||||
- name: Host
|
||||
value: status.felhom.eu
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 60
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v3/status/
|
||||
port: 8000
|
||||
httpHeaders:
|
||||
- name: Host
|
||||
value: status.felhom.eu
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: healthchecks-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: healthchecks
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: healthchecks
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: healthchecks
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- status.felhom.eu
|
||||
secretName: healthchecks-tls
|
||||
rules:
|
||||
- host: status.felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: healthchecks
|
||||
port:
|
||||
number: 80
|
||||
@@ -1,288 +0,0 @@
|
||||
# Umami v3 - Privacy-focused web analytics for felhom.eu
|
||||
# Dashboard: https://stats.felhom.eu
|
||||
# Tracking: Add <script> tag to website HTML pages (see bottom of file)
|
||||
#
|
||||
# Umami v3 requires PostgreSQL (no SQLite/MySQL support).
|
||||
# This manifest deploys a dedicated small PostgreSQL instance alongside Umami
|
||||
# to keep it self-contained within the felhom-system namespace.
|
||||
#
|
||||
# PREREQUISITES:
|
||||
# 1. Create the Secret with credentials:
|
||||
# APP_SECRET: Random string for session encryption (generate with: openssl rand -hex 32)
|
||||
# POSTGRES_PASSWORD: Database password (generate with: openssl rand -hex 16)
|
||||
#
|
||||
# kubectl create secret generic umami-config \
|
||||
# --namespace=felhom-system \
|
||||
# --from-literal=APP_SECRET="$(openssl rand -hex 32)" \
|
||||
# --from-literal=POSTGRES_PASSWORD="$(openssl rand -hex 16)"
|
||||
#
|
||||
# 2. Apply this manifest:
|
||||
# kubectl apply -f umami.yaml
|
||||
#
|
||||
# 3. Wait for pods to be ready (~30-60 seconds for first start, DB init):
|
||||
# kubectl get pods -n felhom-system -l app=umami -w
|
||||
# kubectl get pods -n felhom-system -l app=umami-db -w
|
||||
#
|
||||
# 4. Login at https://stats.felhom.eu
|
||||
# Default credentials: admin / umami
|
||||
# ⚠️ CHANGE THE PASSWORD IMMEDIATELY after first login!
|
||||
#
|
||||
# 5. Add your website in Umami:
|
||||
# Settings → Websites → Add website → Name: "felhom.eu", Domain: "felhom.eu"
|
||||
# Copy the tracking code and add it to your HTML pages (see bottom of file).
|
||||
#
|
||||
# DEBUGGING:
|
||||
# kubectl logs -n felhom-system deploy/umami -f
|
||||
# kubectl logs -n felhom-system deploy/umami-db -f
|
||||
# kubectl exec -it -n felhom-system deploy/umami -- wget -qO- http://localhost:3000/api/heartbeat
|
||||
# kubectl exec -it -n felhom-system deploy/umami-db -- pg_isready -U umami
|
||||
#
|
||||
# BACKUP:
|
||||
# # Dump the database:
|
||||
# kubectl exec -n felhom-system deploy/umami-db -- pg_dump -U umami umami > umami-backup-$(date +%Y%m%d).sql
|
||||
# # Restore:
|
||||
# cat umami-backup-YYYYMMDD.sql | kubectl exec -i -n felhom-system deploy/umami-db -- psql -U umami umami
|
||||
|
||||
# =============================================================================
|
||||
# PERSISTENT STORAGE
|
||||
# =============================================================================
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: umami-db-data
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
|
||||
# =============================================================================
|
||||
# POSTGRESQL - Dedicated database for Umami
|
||||
# =============================================================================
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: umami-db
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: umami-db
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: umami-db
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: umami-db
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:16-alpine
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
- name: POSTGRES_DB
|
||||
value: "umami"
|
||||
- name: POSTGRES_USER
|
||||
value: "umami"
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: umami-config
|
||||
key: POSTGRES_PASSWORD
|
||||
- name: PGDATA
|
||||
value: "/var/lib/postgresql/data/pgdata"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/lib/postgresql/data
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "25m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- pg_isready
|
||||
- -U
|
||||
- umami
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- pg_isready
|
||||
- -U
|
||||
- umami
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: umami-db-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: umami-db
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: umami-db
|
||||
ports:
|
||||
- port: 5432
|
||||
targetPort: 5432
|
||||
|
||||
# =============================================================================
|
||||
# UMAMI - Web Analytics Application
|
||||
# =============================================================================
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: umami
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: umami
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: umami
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: umami
|
||||
spec:
|
||||
# Wait for DB to be available before starting Umami
|
||||
initContainers:
|
||||
- name: wait-for-db
|
||||
image: postgres:16-alpine
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
echo "Waiting for PostgreSQL to be ready..."
|
||||
until pg_isready -h umami-db -p 5432 -U umami; do
|
||||
echo " ...still waiting"
|
||||
sleep 2
|
||||
done
|
||||
echo "PostgreSQL is ready!"
|
||||
resources:
|
||||
requests:
|
||||
memory: "16Mi"
|
||||
cpu: "5m"
|
||||
limits:
|
||||
memory: "32Mi"
|
||||
cpu: "50m"
|
||||
containers:
|
||||
- name: umami
|
||||
image: ghcr.io/umami-software/umami:postgresql-latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: umami-config
|
||||
key: POSTGRES_PASSWORD
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://umami:$(POSTGRES_PASSWORD)@umami-db:5432/umami"
|
||||
- name: APP_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: umami-config
|
||||
key: APP_SECRET
|
||||
# Disable Umami's own telemetry
|
||||
- name: DISABLE_TELEMETRY
|
||||
value: "1"
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
port: 3000
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
port: 3000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: umami
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: umami
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: umami
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- stats.felhom.eu
|
||||
secretName: umami-tls
|
||||
rules:
|
||||
- host: stats.felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: umami
|
||||
port:
|
||||
number: 80
|
||||
|
||||
# =============================================================================
|
||||
# TRACKING SCRIPT - Add to your HTML pages
|
||||
# =============================================================================
|
||||
#
|
||||
# After deploying and creating your website in Umami, add this to every page's
|
||||
# <head> section (replace WEBSITE_ID with the ID from Umami dashboard):
|
||||
#
|
||||
# <script defer src="https://stats.felhom.eu/script.js" data-website-id="YOUR-WEBSITE-ID"></script>
|
||||
#
|
||||
# The script is <2KB, async/deferred, cookie-free, and GDPR compliant.
|
||||
# No cookie consent banner needed!
|
||||
#
|
||||
# TIP: Since your HTML files are managed via FileBrowser, you can add the
|
||||
# script tag to all pages at once. Add it right before </head> in:
|
||||
# - index.html
|
||||
# - alkalmazasok.html
|
||||
# - technologiak.html
|
||||
# - gyik.html
|
||||
# - kapcsolat.html
|
||||
# - biztonsagimentes.html (if exists)
|
||||
# - Any other pages
|
||||
@@ -1,286 +0,0 @@
|
||||
# FileBrowser + Webpage deployment for felhom.eu
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: felhom-website-content
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: filebrowser-db
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: filebrowser-config
|
||||
namespace: felhom-system
|
||||
data:
|
||||
.filebrowser.json: |
|
||||
{
|
||||
"port": 8080,
|
||||
"baseURL": "",
|
||||
"address": "0.0.0.0",
|
||||
"log": "stdout",
|
||||
"database": "/database/filebrowser.db",
|
||||
"root": "/srv"
|
||||
}
|
||||
---
|
||||
# ===================
|
||||
# NGINX CONFIG FOR CLEAN URLs
|
||||
# ===================
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: nginx-config
|
||||
namespace: felhom-system
|
||||
data:
|
||||
default.conf: |
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# Enable clean URLs - serve .html files without extension
|
||||
location / {
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
}
|
||||
|
||||
# Cache static assets
|
||||
location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Security headers
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
|
||||
# Error pages
|
||||
error_page 404 /404.html;
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
}
|
||||
---
|
||||
# ===================
|
||||
# FILEBROWSER
|
||||
# ===================
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: filebrowser
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: filebrowser
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: filebrowser
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: filebrowser
|
||||
spec:
|
||||
containers:
|
||||
- name: filebrowser
|
||||
image: filebrowser/filebrowser:v2-alpine
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: website-content
|
||||
mountPath: /srv
|
||||
- name: database
|
||||
mountPath: /database
|
||||
- name: config
|
||||
mountPath: /.filebrowser.json
|
||||
subPath: .filebrowser.json
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: website-content
|
||||
persistentVolumeClaim:
|
||||
claimName: felhom-website-content
|
||||
- name: database
|
||||
persistentVolumeClaim:
|
||||
claimName: filebrowser-db
|
||||
- name: config
|
||||
configMap:
|
||||
name: filebrowser-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: filebrowser
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: filebrowser
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: filebrowser
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- files.felhom.eu
|
||||
secretName: filebrowser-tls
|
||||
rules:
|
||||
- host: files.felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: filebrowser
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
# ===================
|
||||
# WEBPAGE (nginx)
|
||||
# ===================
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: felhom-webpage
|
||||
namespace: felhom-system
|
||||
labels:
|
||||
app: felhom-webpage
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: felhom-webpage
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: felhom-webpage
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: website-content
|
||||
mountPath: /usr/share/nginx/html
|
||||
- name: nginx-config
|
||||
mountPath: /etc/nginx/conf.d/default.conf
|
||||
subPath: default.conf
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "10m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "200m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: website-content
|
||||
persistentVolumeClaim:
|
||||
claimName: felhom-website-content
|
||||
- name: nginx-config
|
||||
configMap:
|
||||
name: nginx-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: felhom-webpage
|
||||
namespace: felhom-system
|
||||
spec:
|
||||
selector:
|
||||
app: felhom-webpage
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: felhom-webpage
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- felhom.eu
|
||||
- www.felhom.eu
|
||||
secretName: felhom-webpage-tls
|
||||
rules:
|
||||
- host: felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: felhom-webpage
|
||||
port:
|
||||
number: 80
|
||||
- host: www.felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: felhom-webpage
|
||||
port:
|
||||
number: 80
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: init-directories
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -44,7 +44,7 @@ spec:
|
||||
mountPath: /data
|
||||
containers:
|
||||
- name: gitea
|
||||
image: gitea/gitea:1.25.4
|
||||
image: gitea/gitea:1.26.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: USER_UID
|
||||
|
||||
@@ -1384,7 +1384,7 @@ spec:
|
||||
# Calendar iCal URLs (JSON object: {"name": "url", ...})
|
||||
- name: CALENDAR_ICAL_URLS
|
||||
value: '{"Órák": "https://calendar.google.com/calendar/ical/b2884faf3db792ac082a6206057552c79080716efd5f966e169a41fc500e1c1c%40group.calendar.google.com/private-0998d8053909ba4449c2f0a6409ce3de/basic.ics", "Családi": "https://calendar.google.com/calendar/ical/nitq3l0if4gn54k438obat5ia0%40group.calendar.google.com/private-59afcf70fee1a798ec369b86d9883b46/basic.ics"}'
|
||||
image: python:3.12-bookworm
|
||||
image: python:3.14-bookworm
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: glance-helper
|
||||
ports:
|
||||
|
||||
@@ -2746,7 +2746,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: build-bookmarks-index
|
||||
image: mikefarah/yq:4.50.1
|
||||
image: mikefarah/yq:4.53.2
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
@@ -2787,7 +2787,7 @@ spec:
|
||||
mountPath: /app/assets
|
||||
containers:
|
||||
- name: glance
|
||||
image: glanceapp/glance:v0.8.4
|
||||
image: glanceapp/glance:v0.8.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -1372,7 +1372,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: build-bookmarks-index
|
||||
image: mikefarah/yq:4.50.1
|
||||
image: mikefarah/yq:4.53.2
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
@@ -1413,7 +1413,7 @@ spec:
|
||||
mountPath: /app/assets
|
||||
containers:
|
||||
- name: glance
|
||||
image: glanceapp/glance:v0.8.4
|
||||
image: glanceapp/glance:v0.8.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -258,7 +258,7 @@ spec:
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
- name: headlamp
|
||||
image: ghcr.io/headlamp-k8s/headlamp:v0.40.0
|
||||
image: ghcr.io/headlamp-k8s/headlamp:v0.42.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "-in-cluster"
|
||||
|
||||
@@ -42,5 +42,5 @@ rbac:
|
||||
# Image configuration
|
||||
image:
|
||||
repository: registry.k8s.io/external-dns/external-dns
|
||||
tag: v0.19.0
|
||||
tag: v0.21.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
---
|
||||
# Image tag override: bumps pihole/pihole to 2026.05.0 without changing
|
||||
# the chart version. The 2026.05.0 release bundles FTL v6.6.2 which
|
||||
# imports 6 upstream dnsmasq CVE fixes (covering the dnsmasq 2.92/2.93
|
||||
# disclosures). No FTL-side config or API changes per the release notes.
|
||||
# https://github.com/pi-hole/docker-pi-hole/releases/tag/2026.05.0
|
||||
image:
|
||||
tag: "2026.05.0"
|
||||
DNS1: "1.1.1.1" # Cloudflare
|
||||
DNS2: "8.8.8.8" # Google
|
||||
DNS3: "9.9.9.9" #Quad9
|
||||
|
||||
@@ -3,8 +3,8 @@ image:
|
||||
# -- The public dockerhub registry
|
||||
registry: index.docker.io
|
||||
repository: plexinc/pms-docker
|
||||
# renovate: datasource=custom.plex depName=plex versioning=loose
|
||||
tag: "1.43.0.10467-2b1ba6e69"
|
||||
# renovate: datasource=docker depName=plexinc/pms-docker versioning=regex:^(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)\.(?<build>\d+)-[a-f0-9]+$
|
||||
tag: "1.43.2.10687-563d026ea"
|
||||
sha: ""
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -123,7 +123,7 @@ initContainer:
|
||||
registry: index.docker.io
|
||||
repository: alpine
|
||||
# -- If unset use latest
|
||||
tag: "3.22"
|
||||
tag: "3.23"
|
||||
sha: ""
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -181,7 +181,7 @@ rclone:
|
||||
registry: index.docker.io
|
||||
repository: rclone/rclone
|
||||
# -- If unset use latest
|
||||
tag: 1.70.3
|
||||
tag: 1.74.3
|
||||
sha: ""
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -235,7 +235,10 @@ statefulSet:
|
||||
annotations: {}
|
||||
# -- Optional extra annotations to add to the pods in the statefulset
|
||||
podAnnotations:
|
||||
match-regex.version-checker.io/plex-plex-media-server-pms: ^\d+\.\d+\.\d+\.\d+-.*$
|
||||
# Match only `<X.Y.Z.B>-<short-hash>` (the amd64/native tag form) and exclude
|
||||
# per-arch tags (e.g. `-armhf`, `-arm64`) so version-checker doesn't show an
|
||||
# ARM tag as "newer" than our x86_64 install.
|
||||
match-regex.version-checker.io/plex-plex-media-server-pms: '^\d+\.\d+\.\d+\.\d+-[a-f0-9]+$'
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
|
||||
@@ -372,7 +372,7 @@ spec:
|
||||
enableServiceLinks: true
|
||||
containers:
|
||||
- name: homepage
|
||||
image: ghcr.io/gethomepage/homepage:v1.10.1
|
||||
image: ghcr.io/gethomepage/homepage:v1.13.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
# Required for external access
|
||||
|
||||
@@ -535,7 +535,7 @@ spec:
|
||||
enableServiceLinks: true
|
||||
containers:
|
||||
- name: homepage
|
||||
image: ghcr.io/gethomepage/homepage:v1.10.1
|
||||
image: ghcr.io/gethomepage/homepage:v1.13.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
# Required for external access
|
||||
|
||||
@@ -241,7 +241,7 @@ spec:
|
||||
value: immich-valkey
|
||||
- name: TRANSFORMERS_CACHE
|
||||
value: /cache
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.5.5
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.7.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
@@ -336,7 +336,7 @@ spec:
|
||||
value: http://immich-machine-learning:3003
|
||||
- name: REDIS_HOSTNAME
|
||||
value: immich-valkey
|
||||
image: ghcr.io/immich-app/immich-server:v2.5.5
|
||||
image: ghcr.io/immich-app/immich-server:v2.7.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
@@ -416,7 +416,7 @@ spec:
|
||||
value: http://immich-machine-learning:3003
|
||||
- name: REDIS_HOSTNAME
|
||||
value: immich-valkey
|
||||
image: docker.io/valkey/valkey:9.0-alpine@sha256:b4ee67d73e00393e712accc72cfd7003b87d0fcd63f0eba798b23251bfc9c394
|
||||
image: docker.io/valkey/valkey:9.1-alpine@sha256:a35428eba9043cc0b79dbe54100f0c92784f2de00ad09b01182bfb1c5c83d1bd
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
exec:
|
||||
|
||||
@@ -185,7 +185,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7-alpine
|
||||
image: redis:8-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- redis-server
|
||||
@@ -282,7 +282,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: wait-for-db
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -294,7 +294,7 @@ spec:
|
||||
done
|
||||
echo "PostgreSQL is ready!"
|
||||
- name: wait-for-redis
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -584,7 +584,7 @@ spec:
|
||||
initContainers:
|
||||
# 1. Wait for PostgreSQL to accept connections
|
||||
- name: wait-for-db
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -597,7 +597,7 @@ spec:
|
||||
echo "PostgreSQL is ready!"
|
||||
# 2. Wait for Redis to accept connections
|
||||
- name: wait-for-redis
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -612,7 +612,7 @@ spec:
|
||||
# Prevents the worker from picking up stale queued jobs
|
||||
# before schema migrations have been applied.
|
||||
- name: wait-for-api
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
|
||||
@@ -136,7 +136,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: filebrowser
|
||||
image: gtstef/filebrowser:1.1.2-stable
|
||||
image: gtstef/filebrowser:1.3.3-stable
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
|
||||
@@ -237,6 +237,75 @@ data:
|
||||
regex: 'ak-outpost-(.*)-outpost'
|
||||
replacement: '$1'
|
||||
|
||||
# --- end-to-end latency + loss (ICMP) to many destinations ---
|
||||
- job_name: 'wan-icmp'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [icmp]
|
||||
scrape_interval: 15s
|
||||
static_configs:
|
||||
- targets:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
- jarrs.eu # Hetzner
|
||||
- telex.hu
|
||||
- store.steampowered.com
|
||||
- 192.168.0.1 # gateway
|
||||
- 37.191.56.193 # your public IP (update if it changes)
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: wan-monitor.admin-system:9115
|
||||
|
||||
# --- HTTP phase breakdown (dns/connect/tls/processing/transfer) ---
|
||||
- job_name: 'wan-http'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [http_2xx]
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets:
|
||||
- https://telex.hu
|
||||
- https://store.steampowered.com
|
||||
- https://jarrs.eu
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: wan-monitor.admin-system:9115
|
||||
|
||||
# --- DNS resolution time per resolver (Pi-hole vs public) ---
|
||||
- job_name: 'wan-dns'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [dns_udp]
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets:
|
||||
- 192.168.0.250 # Pi-hole
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: wan-monitor.admin-system:9115
|
||||
|
||||
# --- irtt (UDP quality) + iperf3 (throughput) textfile metrics ---
|
||||
- job_name: 'wan-probe'
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 30s
|
||||
fallback_scrape_protocol: PrometheusText0.0.4
|
||||
static_configs:
|
||||
- targets: ['wan-monitor.admin-system:9116']
|
||||
|
||||
# CloudNativePG - Postgres metrics per instance
|
||||
- job_name: 'cloudnativepg'
|
||||
kubernetes_sd_configs:
|
||||
@@ -348,7 +417,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: prometheus
|
||||
image: prom/prometheus:v3.9.1
|
||||
image: prom/prometheus:v3.12.0
|
||||
args:
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
- --storage.tsdb.path=/prometheus
|
||||
@@ -529,7 +598,7 @@ spec:
|
||||
runAsGroup: 472
|
||||
containers:
|
||||
- name: grafana
|
||||
image: grafana/grafana:12.3.2
|
||||
image: grafana/grafana:13.0.2
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
@@ -621,7 +690,7 @@ spec:
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
memory: 768Mi
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/lib/grafana
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
labels:
|
||||
app: prometheus
|
||||
data:
|
||||
|
||||
|
||||
authentik-alerts.yml: |
|
||||
groups:
|
||||
- name: authentik-availability
|
||||
@@ -210,3 +210,104 @@ data:
|
||||
annotations:
|
||||
summary: "Longhorn node {{ $labels.node }} storage pressure"
|
||||
description: "Node {{ $labels.node }} disk usage is at {{ printf \"%.1f\" $value }}%."
|
||||
|
||||
# Add this as a new data key (wan-alerts.yml) in the existing
|
||||
# prometheus-rules ConfigMap (mon-system). Thresholds anchored to One.hu's
|
||||
# "normal conditions" figures: 700 Mbit/s down / 28 Mbit/s up.
|
||||
# Throughput is sampled every ~15 min, so `for:` spans >=2 samples to avoid
|
||||
# firing on a single fluke. Recalibrate floors after a week of baseline data.
|
||||
# NOTE: uses Prometheus template funcs (humanize/humanizePercentage/humanizeDuration);
|
||||
# mul/div are NOT valid Prometheus template functions.
|
||||
wan-alerts.yml: |
|
||||
groups:
|
||||
- name: wan-quality-alerts
|
||||
rules:
|
||||
# --- upstream loss: the prime suspect for dropped calls / WireGuard ---
|
||||
- alert: WanUpstreamPacketLoss
|
||||
expr: wan_irtt_loss_ratio{direction="upstream",condition="idle"} > 0.01
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN upstream packet loss to {{ $labels.target }}"
|
||||
description: "irtt upstream loss {{ $value | humanizePercentage }} (>1%) for 2m. Cable-upstream symptom; capture for ISP."
|
||||
|
||||
- alert: WanDownstreamPacketLoss
|
||||
expr: wan_irtt_loss_ratio{direction="downstream",condition="idle"} > 0.01
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN downstream packet loss to {{ $labels.target }}"
|
||||
description: "irtt downstream loss {{ $value | humanizePercentage }} (>1%) for 2m."
|
||||
|
||||
# --- latency / jitter ---
|
||||
- alert: WanLatencyHigh
|
||||
expr: wan_irtt_rtt_seconds{stat="max",condition="idle"} > 0.08
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN RTT spikes to {{ $labels.target }}"
|
||||
description: "irtt max RTT {{ $value | humanizeDuration }} (>80 ms) for 5m (idle). Real-time apps will feel this."
|
||||
|
||||
- alert: WanJitterHigh
|
||||
expr: wan_irtt_jitter_seconds{direction="round_trip",condition="idle"} > 0.03
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN jitter high to {{ $labels.target }}"
|
||||
description: "Round-trip jitter {{ $value | humanizeDuration }} (>30 ms) for 5m. Degrades VoIP/video."
|
||||
|
||||
# --- bufferbloat: latency added while the line is saturated ---
|
||||
- alert: WanBufferbloat
|
||||
expr: |
|
||||
(
|
||||
wan_irtt_rtt_seconds{stat="mean",condition="under_load"}
|
||||
- on(target) wan_irtt_rtt_seconds{stat="mean",condition="idle"}
|
||||
) > 0.1
|
||||
for: 0m
|
||||
labels:
|
||||
severity: info
|
||||
annotations:
|
||||
summary: "WAN bufferbloat on {{ $labels.target }}"
|
||||
description: "RTT rises {{ $value | humanizeDuration }} under load (>100 ms). Line buckles when saturated."
|
||||
|
||||
# --- throughput vs One.hu "normal" 700/28 (alert below 50%) ---
|
||||
- alert: WanDownloadDegraded
|
||||
expr: wan_throughput_bits_per_second{direction="download"} < 350e6
|
||||
for: 20m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN download below half of plan"
|
||||
description: "Download {{ $value | humanize }}bit/s (< 350M, half of 700 normal) for 20m."
|
||||
|
||||
- alert: WanUploadDegraded
|
||||
expr: wan_throughput_bits_per_second{direction="upload"} < 14e6
|
||||
for: 20m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN upload below half of plan"
|
||||
description: "Upload {{ $value | humanize }}bit/s (< 14M, half of 28 normal) for 20m."
|
||||
|
||||
# --- the monitor itself stopped producing data ---
|
||||
- alert: WanProbeStalled
|
||||
expr: time() - max by(probe) (wan_probe_last_run_timestamp_seconds) > 300
|
||||
for: 0m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN probe '{{ $labels.probe }}' stalled"
|
||||
description: "No fresh samples for >5 min. Check the wan-monitor pod / Hetzner endpoint."
|
||||
|
||||
- alert: WanBlackboxTargetDown
|
||||
expr: probe_success{job=~"wan-.*"} == 0
|
||||
for: 3m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "WAN probe to {{ $labels.instance }} failing"
|
||||
description: "blackbox {{ $labels.job }} to {{ $labels.instance }} unreachable for 3m."
|
||||
@@ -392,10 +392,13 @@ spec:
|
||||
nextcloud-config-hash: 06b49913be13b1f9a81745166dd75ada59e7ddd39e8f6a2c5538affe2a6d1093
|
||||
php-config-hash: 5a497358af870e06b42325eee83d7c0e5466b7f6819cb49b598559d96def7428
|
||||
hooks-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
||||
# Only match the `X.Y.Z-apache` variant tags so version-checker doesn't
|
||||
# treat the bare `X.Y.Z` server tag as a "newer" version of our apache image.
|
||||
match-regex.version-checker.io/nextcloud: '^\d+\.\d+\.\d+-apache$'
|
||||
spec:
|
||||
containers:
|
||||
- name: nextcloud
|
||||
image: docker.io/library/nextcloud:32.0.2-apache
|
||||
image: docker.io/library/nextcloud:33.0.5-apache
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: SMTP_HOST
|
||||
@@ -552,7 +555,7 @@ spec:
|
||||
failureThreshold: 3
|
||||
initContainers:
|
||||
- name: postgresql-isready
|
||||
image: docker.io/bitnamilegacy/postgresql:17.5.0-debian-12-r3
|
||||
image: docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r3
|
||||
resources: {}
|
||||
securityContext: {}
|
||||
env:
|
||||
@@ -637,7 +640,7 @@ spec:
|
||||
hostIPC: false
|
||||
containers:
|
||||
- name: postgresql
|
||||
image: docker.io/bitnamilegacy/postgresql:17.5.0-debian-12-r3
|
||||
image: docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r3
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
@@ -0,0 +1,135 @@
|
||||
# BentoPDF - Privacy-focused PDF toolkit (all processing client-side, files never leave the server)
|
||||
# https://www.bentopdf.com - image: ghcr.io/alam00000/bentopdf
|
||||
# Domain: pdf.dooplex.hu
|
||||
# Version: 2.8.5
|
||||
# Database: None | Storage: None (stateless)
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bentopdf
|
||||
namespace: office-system
|
||||
labels:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
app.kubernetes.io/version: "2.8.5"
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
app.kubernetes.io/version: "2.8.5"
|
||||
annotations:
|
||||
match-regex.version-checker.io/bentopdf: '^v\d+\.\d+\.\d+$'
|
||||
spec:
|
||||
containers:
|
||||
- name: bentopdf
|
||||
image: ghcr.io/alam00000/bentopdf:v2.8.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 384Mi
|
||||
restartPolicy: Always
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: bentopdf
|
||||
namespace: office-system
|
||||
labels:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
selector:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: bentopdf
|
||||
namespace: office-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
external-dns.alpha.kubernetes.io/hostname: pdf.dooplex.hu,pdf.home
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
set $geo_allowed 0;
|
||||
if ($remote_addr ~ "^192\.168\.") { set $geo_allowed 1; }
|
||||
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }
|
||||
if ($geoip2_country_code = "HU") { set $geo_allowed 1; }
|
||||
if ($geo_allowed = 0) {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
labels:
|
||||
app.kubernetes.io/name: bentopdf
|
||||
app.kubernetes.io/instance: bentopdf
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- pdf.dooplex.hu
|
||||
secretName: bentopdf-tls
|
||||
rules:
|
||||
- host: pdf.dooplex.hu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: bentopdf
|
||||
port:
|
||||
number: 8080
|
||||
- host: pdf.home
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: bentopdf
|
||||
port:
|
||||
number: 8080
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: onlyoffice
|
||||
image: onlyoffice/documentserver:9.0.2
|
||||
image: onlyoffice/documentserver:9.4.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -89,7 +89,7 @@ spec:
|
||||
initContainers:
|
||||
# Configure proxy auth in database before starting
|
||||
- name: configure-auth
|
||||
image: filebrowser/filebrowser:v2.54.0
|
||||
image: filebrowser/filebrowser:v2.63.13
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -109,7 +109,7 @@ spec:
|
||||
runAsGroup: 1001
|
||||
containers:
|
||||
- name: filebrowser
|
||||
image: filebrowser/filebrowser:v2.54.0
|
||||
image: filebrowser/filebrowser:v2.63.13
|
||||
command:
|
||||
- filebrowser
|
||||
- --database=/config/filebrowser.db
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: outline
|
||||
app.kubernetes.io/name: outline
|
||||
app.kubernetes.io/version: 1.1.0
|
||||
app.kubernetes.io/version: 1.8.1
|
||||
name: outline
|
||||
namespace: outline-system
|
||||
spec:
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: outline
|
||||
image: outlinewiki/outline:1.4.0
|
||||
image: outlinewiki/outline:1.8.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
@@ -198,7 +198,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7-alpine
|
||||
image: redis:8-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- redis-server
|
||||
@@ -331,7 +331,7 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: outline
|
||||
app.kubernetes.io/name: outline
|
||||
app.kubernetes.io/version: 1.1.0
|
||||
app.kubernetes.io/version: 1.8.1
|
||||
name: outline
|
||||
namespace: outline-system
|
||||
spec:
|
||||
|
||||
@@ -71,7 +71,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7-alpine
|
||||
image: redis:8-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: redis
|
||||
@@ -158,7 +158,7 @@ spec:
|
||||
enableServiceLinks: false
|
||||
containers:
|
||||
- name: paperless
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:2.20.6
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:2.20.15
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
# Database - using shared PostgreSQL in database-system namespace
|
||||
|
||||
@@ -43,7 +43,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: mysql
|
||||
image: mysql:8.0
|
||||
image: mysql:8.4
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
@@ -121,7 +121,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7.2.1
|
||||
image: redis:8.8.0
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: prowlarr
|
||||
image: linuxserver/prowlarr:version-2.3.0.5236
|
||||
image: linuxserver/prowlarr:version-2.3.5.5327
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PUID
|
||||
@@ -91,7 +91,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: radarr
|
||||
image: linuxserver/radarr:version-6.0.4.10291
|
||||
image: linuxserver/radarr:version-6.1.1.10360
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PUID
|
||||
@@ -164,7 +164,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: linuxserver/sonarr:version-4.0.16.2944
|
||||
image: linuxserver/sonarr:version-4.0.17.2952
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PUID
|
||||
@@ -244,7 +244,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: qbittorrent
|
||||
image: linuxserver/qbittorrent:5.1.4
|
||||
image: linuxserver/qbittorrent:5.2.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PUID
|
||||
@@ -705,7 +705,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: radarr
|
||||
image: linuxserver/radarr:version-6.0.4.10291
|
||||
image: linuxserver/radarr:version-6.1.1.10360
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PUID
|
||||
@@ -904,7 +904,14 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: seerr
|
||||
image: docker.io/fallenbagel/jellyseerr:preview-OIDC
|
||||
# 2026-06-06: migrating from fallenbagel/jellyseerr:preview-OIDC
|
||||
# (a custom OIDC-capable build) to seerr-team/seerr v3.x — the
|
||||
# successor project (combined Overseerr+Jellyseerr team rebrand
|
||||
# from v3.0.0). Mainline now has native OIDC support so we don't
|
||||
# need the custom build. Migration is auto on first start; backed
|
||||
# up the config PVC to ~/seerr-backups on dooplex before this PR.
|
||||
# https://docs.seerr.dev/migration-guide
|
||||
image: ghcr.io/seerr-team/seerr:v3.3.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: create-superuser
|
||||
image: vabene1111/recipes:2.5
|
||||
image: vabene1111/recipes:2.6.9
|
||||
workingDir: /opt/recipes
|
||||
command:
|
||||
- /bin/sh
|
||||
@@ -106,7 +106,7 @@ spec:
|
||||
key: email
|
||||
containers:
|
||||
- name: tandoor
|
||||
image: vabene1111/recipes:2.5
|
||||
image: vabene1111/recipes:2.6.9
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -41,7 +41,11 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: termix
|
||||
image: ghcr.io/lukegus/termix:release-1.11.0
|
||||
# NOTE: termix uses a non-semver tag pattern (release-X.Y.Z).
|
||||
# Renovate handles it via a customManagers regex defined in
|
||||
# admin-system/renovate.yaml (the kubernetes manager doesn't
|
||||
# process inline `# renovate:` comments).
|
||||
image: ghcr.io/lukegus/termix:release-2.3.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: uptimekuma
|
||||
image: louislam/uptime-kuma:2.3.2
|
||||
image: louislam/uptime-kuma:2.4.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -28,7 +28,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: vaultwarden
|
||||
image: vaultwarden/server:1.35.2
|
||||
image: vaultwarden/server:1.36.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
|
||||
@@ -122,7 +122,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: pocketbase
|
||||
image: flomp/wanderer-db:v0.19.1
|
||||
image: flomp/wanderer-db:v0.19.2
|
||||
env:
|
||||
- name: ORIGIN
|
||||
value: "https://wanderer.dooplex.hu"
|
||||
@@ -192,7 +192,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: wanderer-web
|
||||
image: flomp/wanderer-web:v0.19.1
|
||||
image: flomp/wanderer-web:v0.19.2
|
||||
env:
|
||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||
value: "0"
|
||||
|
||||
+4
-4
@@ -130,7 +130,7 @@ spec:
|
||||
initContainers:
|
||||
# Configure proxy auth in database before starting
|
||||
- name: configure-auth
|
||||
image: filebrowser/filebrowser:v2.54.0
|
||||
image: filebrowser/filebrowser:v2.63.13
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -151,7 +151,7 @@ spec:
|
||||
runAsGroup: 1000
|
||||
containers:
|
||||
- name: filebrowser
|
||||
image: filebrowser/filebrowser:v2.54.0
|
||||
image: filebrowser/filebrowser:v2.63.13
|
||||
command:
|
||||
- filebrowser
|
||||
- --database=/config/filebrowser.db
|
||||
@@ -315,7 +315,7 @@ spec:
|
||||
initContainers:
|
||||
# Create public directory if it doesn't exist
|
||||
- name: init-public-dir
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command: ["sh", "-c", "mkdir -p /srv/public && chmod 755 /srv/public"]
|
||||
volumeMounts:
|
||||
- name: data
|
||||
@@ -324,7 +324,7 @@ spec:
|
||||
runAsUser: 0
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.27-alpine
|
||||
image: nginx:1.31-alpine
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
|
||||
@@ -144,8 +144,10 @@ spec:
|
||||
app.kubernetes.io/instance: sparkyfitness
|
||||
app.kubernetes.io/name: server
|
||||
annotations:
|
||||
# Tag format is vMAJOR.MINOR.PATCH.BUILD (e.g. v0.16.6.3)
|
||||
match-regex.version-checker.io/server: '^v\d+\.\d+\.\d+\.\d+$'
|
||||
# Tag format used to be vMAJOR.MINOR.PATCH.BUILD (e.g. v0.16.6.3),
|
||||
# changed to vMAJOR.MINOR.PATCH on 2026-06-01 (v0.16.7+). Accept
|
||||
# both so historical comparisons + new releases both match.
|
||||
match-regex.version-checker.io/server: '^v\d+\.\d+\.\d+(\.\d+)?$'
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
securityContext:
|
||||
@@ -153,7 +155,7 @@ spec:
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: wait-for-db
|
||||
image: busybox:1.36
|
||||
image: busybox:1.38
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -166,7 +168,7 @@ spec:
|
||||
echo "PostgreSQL is ready!"
|
||||
containers:
|
||||
- name: server
|
||||
image: codewithcj/sparkyfitness_server:v0.16.6.3
|
||||
image: codewithcj/sparkyfitness_server:v0.16.8
|
||||
env:
|
||||
# ---- Database (owner / superuser role, used for migrations) ----
|
||||
- name: SPARKY_FITNESS_DB_HOST
|
||||
@@ -330,12 +332,12 @@ spec:
|
||||
app.kubernetes.io/instance: sparkyfitness
|
||||
app.kubernetes.io/name: frontend
|
||||
annotations:
|
||||
match-regex.version-checker.io/frontend: '^v\d+\.\d+\.\d+\.\d+$'
|
||||
match-regex.version-checker.io/frontend: '^v\d+\.\d+\.\d+(\.\d+)?$'
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
containers:
|
||||
- name: frontend
|
||||
image: codewithcj/sparkyfitness:v0.16.6.3
|
||||
image: codewithcj/sparkyfitness:v0.16.8
|
||||
env:
|
||||
- name: SPARKY_FITNESS_SERVER_HOST
|
||||
value: "sparkyfitness-server"
|
||||
|
||||
Reference in New Issue
Block a user