59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/monica
|
|
tag: v3.6.1@sha256:e5152cda76476f22c04585163580e7d31b2c2c8af49bbac7e46464d2e17762fd
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
# -- environment variables. See [monica documentation](https://raw.githubusercontent.com/monicahq/monica/master/.env.example) for more details.
|
|
# @default -- See below
|
|
env:
|
|
# -- Use `local` if you want to install Monica as a development version. Use `production` otherwise.
|
|
APP_ENV: production
|
|
# -- The URL of your application.
|
|
APP_URL: https://crm.k8s-at-home.com
|
|
DB_DATABASE: monica
|
|
DB_USERNAME: monica
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10119
|
|
targetPort: 80
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/var/www/html/storage"
|
|
|
|
envValueFrom:
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
APP_KEY:
|
|
secretKeyRef:
|
|
name: appkey
|
|
key: appkey
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: monica
|
|
mariadbDatabase: monica
|
|
existingSecret: "mariadbcreds"
|