2021-02-10 10:09:33 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/lychee-laravel
|
2021-02-10 10:09:33 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-01-31 21:18:04 +00:00
|
|
|
tag: v4.4.0@sha256:f241d62fa4b2f97577d494c319eaab9e5b127e4a67af58ea90861ce56ff0fb88
|
2021-02-10 10:09:33 +00:00
|
|
|
|
2021-09-26 18:05:21 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-05-19 13:12:45 +00:00
|
|
|
service:
|
2021-03-03 15:51:25 +00:00
|
|
|
main:
|
2021-05-19 13:12:45 +00:00
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10017
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 80
|
2021-02-10 10:09:33 +00:00
|
|
|
|
2022-02-22 10:25:37 +00:00
|
|
|
env:
|
|
|
|
# Internal Envs
|
2022-03-06 19:08:58 +00:00
|
|
|
TIMEZONE: "{{ .Values.TZ }}"
|
|
|
|
PHP_TZ: "{{ .Values.TZ }}"
|
2022-02-22 10:25:37 +00:00
|
|
|
DB_CONNECTION: "pgsql"
|
|
|
|
DB_PORT: "5432"
|
|
|
|
DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
DB_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
REDIS_PORT: "6379"
|
|
|
|
CACHE_DRIVER: "redis"
|
|
|
|
SESSION_DRIVER: "redis"
|
|
|
|
APP_ENV: "production"
|
|
|
|
APP_NAME: "Lychee"
|
|
|
|
MIX_PUSHER_APP_KEY: "{{ .Values.env.PUSHER_APP_KEY }}"
|
|
|
|
MIX_PUSHER_APP_CLUSTER: "{{ .Values.env.PUSHER_APP_CLUSTER }}"
|
|
|
|
# User Envs
|
|
|
|
SECURITY_HEADER_HSTS_ENABLE: false
|
|
|
|
APP_DEBUG: false
|
|
|
|
PUSHER_APP_KEY: ""
|
|
|
|
PUSHER_APP_CLUSTER: ""
|
|
|
|
APP_URL: http://localhost
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: redis-password
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: lychee-secrets
|
|
|
|
key: APP_KEY
|
|
|
|
|
2021-02-10 10:09:33 +00:00
|
|
|
persistence:
|
2022-02-22 10:25:37 +00:00
|
|
|
conf:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/conf"
|
|
|
|
sym:
|
2021-02-11 20:05:16 +00:00
|
|
|
enabled: true
|
2022-02-22 10:25:37 +00:00
|
|
|
mountPath: "/sym"
|
|
|
|
uploads:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/uploads"
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: lychee
|
|
|
|
postgresqlDatabase: lychee
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|