feat(fireflyiii): enable redis (#1478)

* feat(fireflyiii): enable redis

* duh...

* actually enable redis

* bump minor

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Stavros Kois
2021-12-07 13:37:31 +02:00
committed by GitHub
parent f6a07cac40
commit ff505946c0
2 changed files with 23 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ dependencies:
name: postgresql
repository: https://truecharts.org/
version: 6.0.22
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.27
deprecated: false
description: A free and open source personal finance manager
home: https://github.com/firefly-iii/firefly-iii/

View File

@@ -33,6 +33,12 @@ env:
DB_DATABASE: firefly
DB_CONNECTION: pgsql
DB_PORT: 5432
REDIS_DB: "0"
REDIS_CACHE_DB: "1"
CACHE_DRIVER: redis
SESSION_DRIVER: redis
REDIS_SCHEME: tcp
REDIS_PORT: 6379
envValueFrom:
DB_HOST:
@@ -43,6 +49,14 @@ envValueFrom:
secretKeyRef:
name: dbcreds
key: postgresql-password
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
STATIC_CRON_TOKEN:
secretKeyRef:
name: fireflyiii-secrets
@@ -63,6 +77,11 @@ cronjob:
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"
# Enabled postgres
postgresql:
enabled: true