feat: refactor apps
This commit is contained in:
@@ -10,7 +10,6 @@ komodo:
|
||||
image:
|
||||
repository: ghcr.io/moghtech/komodo-core
|
||||
tag: 2.1.1@sha256:2bbbb1efd3534211dac35091e0818f10398d9bdd98fdbf0ddef09e9e0b5ec4ba
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: COMPOSE_LOGGING_DRIVER
|
||||
value: local
|
||||
@@ -45,7 +44,7 @@ komodo:
|
||||
- name: KOMODO_LOCAL_AUTH
|
||||
value: true
|
||||
- name: KOMODO_ENABLE_NEW_USERS
|
||||
value: true
|
||||
value: false
|
||||
- name: KOMODO_DISABLE_NON_ADMIN_CREATE
|
||||
value: true
|
||||
- name: KOMODO_TRANSPARENT_MODE
|
||||
@@ -82,18 +81,16 @@ komodo:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
memory: 80Mi
|
||||
ferretdb-2:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/ferretdb/ferretdb
|
||||
tag: 2.7.0
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 2.7.0@sha256:5706414241eb84f0515512c37b46db0f1b1eac9e5ceb7e4c2523211c184b1985
|
||||
env:
|
||||
- name: DB_USERNAME
|
||||
value: ferret
|
||||
@@ -106,8 +103,8 @@ komodo:
|
||||
value: postgresql://$(DB_USERNAME):$(DB_PASSWORD)@komodo-postgresql-17-fdb-cluster-rw.komodo.svc.cluster.local:5432/ferretDB
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
cpu: 1m
|
||||
memory: 20Mi
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -115,14 +112,12 @@ komodo:
|
||||
http:
|
||||
port: 80
|
||||
targetPort: 9120
|
||||
protocol: HTTP
|
||||
ferretdb-2:
|
||||
controller: ferretdb-2
|
||||
ports:
|
||||
http:
|
||||
port: 27017
|
||||
targetPort: 27017
|
||||
protocol: HTTP
|
||||
route:
|
||||
main:
|
||||
kind: HTTPRoute
|
||||
@@ -135,11 +130,8 @@ komodo:
|
||||
- komodo.alexlebens.net
|
||||
rules:
|
||||
- backendRefs:
|
||||
- group: ''
|
||||
kind: Service
|
||||
name: komodo-main
|
||||
- name: komodo-main
|
||||
port: 80
|
||||
weight: 100
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
@@ -150,7 +142,6 @@ komodo:
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
retain: true
|
||||
advancedMounts:
|
||||
main:
|
||||
main:
|
||||
@@ -160,7 +151,6 @@ komodo:
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
size: 5Gi
|
||||
retain: true
|
||||
advancedMounts:
|
||||
main:
|
||||
main:
|
||||
@@ -170,7 +160,6 @@ komodo:
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
size: 5Gi
|
||||
retain: true
|
||||
advancedMounts:
|
||||
main:
|
||||
main:
|
||||
@@ -182,7 +171,7 @@ postgresql-17-fdb-cluster:
|
||||
cluster:
|
||||
image:
|
||||
repository: ghcr.io/ferretdb/postgres-documentdb
|
||||
tag: "17-0.106.0-ferretdb-2.5.0"
|
||||
tag: 17-0.107.0-ferretdb-2.7.0@sha256:2386795ec2aa7ae559304361979f1dc5708d383ee9020ae63dadc2940dfe58f7
|
||||
postgresUID: 999
|
||||
postgresGID: 999
|
||||
postgresql:
|
||||
@@ -224,35 +213,12 @@ postgresql-17-fdb-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 50 14 * * *"
|
||||
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-keys:
|
||||
pvcTarget: komodo-keys
|
||||
local:
|
||||
|
||||
Reference in New Issue
Block a user