60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/strapi
|
|
tag: 4.6.2@sha256:ee9f976408d8a196874843e525a05b23598c142aa31bccc107dcdfe92c790cfa
|
|
pullPolicy: Always
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
secretEnv:
|
|
JWT_SECRET: my_jwt_secret
|
|
ADMIN_JWT_SECRET: my_admin_jwt_secret
|
|
APP_KEYS: '["keya", "keyb"]'
|
|
|
|
env:
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
DATABASE_CLIENT: postgres
|
|
DATABASE_PORT: 5432
|
|
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
DATABASE_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DATABASE_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
# STRAPI_LICENSE
|
|
# PUBLIC_URL
|
|
NODE_ENV: development
|
|
STRAPI_DISABLE_UPDATE_NOTIFICATION: true
|
|
FAST_REFRESH: false
|
|
EXTRA_ARGS: ""
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 1337
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: /srv/app
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: dbcreds
|
|
postgresqlUsername: strapi
|
|
postgresqlDatabase: strapi
|
|
|
|
portal:
|
|
enabled: true
|