TrueChartsClone/charts/incubator/plausible/values.yaml

117 lines
2.5 KiB
YAML
Raw Normal View History

image:
repository: plausible/analytics
pullPolicy: IfNotPresent
tag: v1.5.1@sha256:3fbdcfac56ffa79e778e9e4bc1ca8c4dca0d7deb330ed5694f59eaa1125cc0a8
# Plausible self-hosting documentation
# https://plausible.io/docs/self-hosting
plausible:
# Server
BASE_URL: http://localhost
DISABLE_AUTH: false
DISABLE_REGISTRATION: false
# Default User
ADMIN_USER_NAME: admin
ADMIN_USER_EMAIL: admin@example.com
ADMIN_USER_PWD: P@ssw0rd
# Database
CLICKHOUSE_FLUSH_INTERVAL_MS: 5000
CLICKHOUSE_MAX_BUFFER_SIZE: 10000
# Mailer/SMTP Setup
MAILER_EMAIL: hello@plausible.local
SMTP_HOST_ADDR: localhost
SMTP_HOST_PORT: 25
SMTP_USER_NAME: ""
SMTP_USER_PWD: ""
SMTP_HOST_SSL_ENABLED: false
SMTP_RETRIES: 2
MAILER_ADAPTER: Bamboo.SMTPAdapter
POSTMARK_API_KEY: ""
# Google Search Integration
GOOGLE_CLIENT_ID: ""
GOOGLE_CLIENT_SECRET: ""
# Logging
LOG_LEVEL: warn
securityContext:
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-env-config'
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-env-secret'
installContainers:
plausible-install:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-env-config'
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-env-secret'
command: [sh]
args:
- -c
- >-
/entrypoint.sh db createdb &&
/entrypoint.sh db migrate &&
/entrypoint.sh db init-admin
upgradeContainers:
plausible-upgrade:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-env-config'
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-env-secret'
command: [sh]
args:
- -c
- /entrypoint.sh db migrate
service:
main:
ports:
main:
targetPort: 8000
protocol: HTTP
port: 10277
probes:
liveness:
type: HTTP
path: /api/health
readiness:
type: HTTP
path: /api/health
startup:
type: HTTP
path: /api/health
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlUsername: plausible
postgresqlDatabase: plausible
clickhouse:
enabled: true
existingSecret: clickhousecreds
clickhouseUsername: plausible
clickhouseDatabase: plausible
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
portal:
enabled: true