94 lines
2.9 KiB
YAML
94 lines
2.9 KiB
YAML
image:
|
|
repository: bitnami/matomo
|
|
tag: 5.1.1@sha256:7aef6dc83316edf0237f25ce3e4bd1ed5ff6fd0ad1b5b9966dbcf2ecb6f2c336
|
|
pullPolicy: IfNotPresent
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
path: "/index.php"
|
|
readiness:
|
|
path: "/index.php"
|
|
startup:
|
|
path: "/index.php"
|
|
env:
|
|
APACHE_HTTP_PORT_NUMBER: "{{ .Values.service.main.ports.main.port }}"
|
|
APACHE_HTTPS_PORT_NUMBER: "{{ .Values.service.https.ports.https.port }}"
|
|
MATOMO_DATABASE_PORT_NUMBER: 3306
|
|
MATOMO_DATABASE_NAME: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
MATOMO_DATABASE_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
PHP_DATE_TIMEZONE: "{{ .Values.TZ }}"
|
|
# User / Site Config
|
|
MATOMO_USERNAME: "admin"
|
|
MATOMO_PASSWORD: "password"
|
|
MATOMO_EMAIL: "myemail@example.com"
|
|
MATOMO_WEBSITE_NAME: "My Website"
|
|
MATOMO_WEBSITE_HOST: "https://web.example.com"
|
|
MATOMO_HOST: "127.0.0.1"
|
|
# Reverse Proxy Config
|
|
MATOMO_ENABLE_PROXY_URI_HEADER: false
|
|
MATOMO_ENABLE_ASSUME_SECURE_PROTOCOL: false
|
|
MATOMO_ENABLE_FORCE_SSL: false
|
|
# No defaults, but usually this header is used
|
|
# MATOMO_PROXY_CLIENT_HEADER: "HTTP_X_FORWARDED_FOR"
|
|
# SMTP Config
|
|
MATOMO_SMTP_HOST: ""
|
|
MATOMO_SMTP_PORT: ""
|
|
MATOMO_SMTP_USER: ""
|
|
MATOMO_SMTP_PASSWORD: ""
|
|
# Available protocols are: "ssl", "tls", "none"
|
|
MATOMO_SMTP_PROTOCOL: ""
|
|
# Available mechanisms are: "Plain", "Login", "Crammd5"
|
|
MATOMO_SMTP_AUTH: "Plain"
|
|
# PHP Config
|
|
PHP_MEMORY_LIMIT: "2048M"
|
|
PHP_ENABLE_OPCACHE: true
|
|
# PHP_EXPOSE_PHP:
|
|
# PHP_MAX_EXECUTION_TIME:
|
|
# PHP_MAX_INPUT_TIME:
|
|
# PHP_MAX_INPUT_VARS:
|
|
# PHP_POST_MAX_SIZE:
|
|
# PHP_UPLOAD_MAX_FILESIZE:
|
|
MATOMO_DATABASE_HOST:
|
|
secretKeyRef:
|
|
expandObjectName: false
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
key: plainhost
|
|
MATOMO_DATABASE_PASSWORD: "{{ .Values.mariadb.password }}"
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 10172
|
|
targetPort: 10172
|
|
https:
|
|
enabled: true
|
|
ports:
|
|
https:
|
|
enabled: true
|
|
protocol: https
|
|
port: 10173
|
|
targetPort: 10173
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/bitnami/matomo"
|
|
mariadb:
|
|
enabled: true
|
|
includeCommon: true
|
|
mariadbUsername: matomo
|
|
mariadbDatabase: matomo
|
|
portal:
|
|
open:
|
|
enabled: true
|