feat: refactor apps
This commit is contained in:
@@ -7,9 +7,9 @@ dependencies:
|
||||
version: 2.4.0
|
||||
- name: postgres-cluster
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
version: 7.10.0
|
||||
version: 7.11.2
|
||||
- name: volsync-target
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
version: 0.8.0
|
||||
digest: sha256:9342eb966ec3e8020aa6b1d6d2ac72d2c4a46c4ed70c5cf52c16ff25d2f2b0fa
|
||||
generated: "2026-03-15T20:09:33.800790437Z"
|
||||
digest: sha256:95bab760e3dc94ba3affe42d2f91bc274ed520865a461cdaac61ba47eab6f39f
|
||||
generated: "2026-04-06T17:43:01.938961-05:00"
|
||||
|
||||
@@ -5,12 +5,16 @@ description: Rybbit
|
||||
keywords:
|
||||
- rybbit
|
||||
- analytics
|
||||
home: https://wiki.alexlebens.dev/s/
|
||||
home: https://docs.alexlebens.dev/applications/rybbit/
|
||||
sources:
|
||||
- https://github.com/rybbit-io/rybbit
|
||||
- https://github.com/rybbit-io/rybbit/pkgs/container/rybbit-backend
|
||||
- https://github.com/rybbit-io/rybbit/pkgs/container/rybbit-client
|
||||
- https://hub.docker.com/r/clickhouse/clickhouse-server/
|
||||
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
||||
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/cloudflared
|
||||
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/postgres-cluster
|
||||
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/volsync-target
|
||||
maintainers:
|
||||
- name: alexlebens
|
||||
dependencies:
|
||||
@@ -23,7 +27,7 @@ dependencies:
|
||||
version: 2.4.0
|
||||
- name: postgres-cluster
|
||||
alias: postgres-18-cluster
|
||||
version: 7.10.0
|
||||
version: 7.11.2
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
- name: volsync-target
|
||||
alias: volsync-target-clickhouse-data
|
||||
|
||||
@@ -14,29 +14,17 @@ spec:
|
||||
data:
|
||||
- secretKey: clickhouse-user
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/rybbit/clickhouse
|
||||
metadataPolicy: None
|
||||
property: user
|
||||
- secretKey: clickhouse-password
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/rybbit/clickhouse
|
||||
metadataPolicy: None
|
||||
property: password
|
||||
- secretKey: better-auth-secret
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/rybbit/auth
|
||||
metadataPolicy: None
|
||||
property: better-auth-secret
|
||||
- secretKey: mapbox-token
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/rybbit/auth
|
||||
metadataPolicy: None
|
||||
property: mapbox-token
|
||||
|
||||
@@ -4,13 +4,11 @@ rybbit:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/rybbit-io/rybbit-backend
|
||||
tag: v2.5.0
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v2.5.0@sha256:fd00f61abe592f872a0e4ac13f8c7b190ab2810e72f898faea4809d7ced46eef
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
@@ -71,17 +69,12 @@ rybbit:
|
||||
key: mapbox-token
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- CMD
|
||||
- wget
|
||||
- --no-verbose
|
||||
- --tries=1
|
||||
- --spider
|
||||
- http://127.0.0.1:3001/api/health
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: 3001
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
@@ -90,18 +83,16 @@ rybbit:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
memory: 200Mi
|
||||
client:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: harbor.alexlebens.net/images/rybbit-client
|
||||
tag: v2.4.0
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/rybbit-io/rybbit-client
|
||||
tag: v2.5.0@sha256:741908be311a23ee4e58c5f82c6740bf75bbe4f7430ff2aec420f6189b1378b8
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
@@ -112,18 +103,16 @@ rybbit:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
memory: 100Mi
|
||||
clickhouse:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: clickhouse/clickhouse-server
|
||||
tag: 26.3.3
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 26.3.3@sha256:5cfbc0598ee3bd850ac1b2ab150e6c9ec7b9207f1a97617e015325fb5df053d0
|
||||
env:
|
||||
- name: CLICKHOUSE_DB
|
||||
value: analytics
|
||||
@@ -139,17 +128,12 @@ rybbit:
|
||||
key: clickhouse-password
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- CMD
|
||||
- wget
|
||||
- --no-verbose
|
||||
- --tries=1
|
||||
- --spider
|
||||
- http://localhost:8123/ping
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8123
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
@@ -157,8 +141,8 @@ rybbit:
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
cpu: 40m
|
||||
memory: 300Mi
|
||||
configMaps:
|
||||
config:
|
||||
enabled: true
|
||||
@@ -208,28 +192,24 @@ rybbit:
|
||||
http:
|
||||
port: 3001
|
||||
targetPort: 3001
|
||||
protocol: HTTP
|
||||
client:
|
||||
controller: client
|
||||
ports:
|
||||
http:
|
||||
port: 3002
|
||||
targetPort: 3002
|
||||
protocol: TCP
|
||||
clickhouse:
|
||||
controller: clickhouse
|
||||
ports:
|
||||
http:
|
||||
port: 8123
|
||||
targetPort: 8123
|
||||
protocol: TCP
|
||||
persistence:
|
||||
clickhouse:
|
||||
forceRename: clickhouse-data
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
retain: true
|
||||
advancedMounts:
|
||||
clickhouse:
|
||||
main:
|
||||
@@ -271,35 +251,12 @@ postgres-18-cluster:
|
||||
destinationBucket: postgres-backups
|
||||
externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
||||
isWALArchiver: true
|
||||
# - name: garage-remote
|
||||
# index: 1
|
||||
# destinationBucket: postgres-backups
|
||||
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
||||
# retentionPolicy: "90d"
|
||||
# data:
|
||||
# compression: bzip2
|
||||
# - name: external
|
||||
# index: 1
|
||||
# endpointURL: https://nyc3.digitaloceanspaces.com
|
||||
# destinationBucket: postgres-backups-ce540ddf106d186bbddca68a
|
||||
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
||||
# isWALArchiver: false
|
||||
scheduledBackups:
|
||||
- name: live-backup
|
||||
suspend: false
|
||||
immediate: true
|
||||
schedule: "0 45 15 * * *"
|
||||
backupName: garage-local
|
||||
# - name: weekly-backup
|
||||
# suspend: true
|
||||
# immediate: true
|
||||
# schedule: "0 0 4 * * SAT"
|
||||
# backupName: garage-remote
|
||||
# - name: daily-backup
|
||||
# suspend: true
|
||||
# immediate: true
|
||||
# schedule: "0 0 0 * * *"
|
||||
# backupName: external
|
||||
volsync-target-clickhouse-data:
|
||||
pvcTarget: clickhouse-data
|
||||
moverSecurityContext:
|
||||
|
||||
Reference in New Issue
Block a user