TrueChartsClone/charts/stable/linkace/values.yaml

91 lines
1.9 KiB
YAML

image:
repository: tccr.io/truecharts/linkace
tag: v1.10.1@sha256:3b05433e4432392b028cce5c4d3ebe571b290cdad74d387c0c659c7603680156
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
# Internal Envs
DB_CONNECTION: "mysql"
DB_PORT: "3306"
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
REDIS_PORT: "6379"
CACHE_DRIVER: "redis"
SESSION_DRIVER: "redis"
APP_NAME: "LinkAce"
APP_ENV: "production"
APP_TIMEZONE: "{{ .Values.TZ }}"
# User Envs
APP_URL: "http://localhost"
APP_DEBUG: false
BACKUP_ENABLED: false
BACKUP_DISK: s3
BACKUP_NOTIFICATION_EMAIL: your@email.com
BACKUP_MAX_SIZE: 512
envValueFrom:
DB_HOST:
secretKeyRef:
name: mariadbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: mariadbcreds
key: mariadb-password
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
APP_KEY:
secretKeyRef:
name: linkace-secrets
key: APP_KEY
# Set cron every 15 min, official docs says every minute, but seems excesive.
# It just checks for dead links and sends a request to WayBack Machine to archive.
cronjob:
schedule: "*/15 * * * *"
annotations: {}
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
service:
main:
ports:
main:
port: 10160
targetPort: 80
persistence:
app:
enabled: true
mountPath: "/app"
logs:
enabled: true
mountPath: "/app/storage/logs"
backups:
enabled: true
mountPath: "/app/storage/app/backups"
mariadb:
enabled: true
mariadbUsername: linkace
mariadbDatabase: linkace
existingSecret: "mariadbcreds"
redis:
enabled: true
existingSecret: "rediscreds"