TrueChartsClone/charts/stable/plausible/values.yaml

132 lines
3.0 KiB
YAML

image:
repository: tccr.io/truecharts/plausible
pullPolicy: IfNotPresent
tag: v2.0.0@sha256:1ef59e863cfdcddc308d4ec743091bc8eda4f62e16b269cf4d778c89b8c02a68
service:
main:
ports:
main:
port: 10277
# Plausible self-hosting documentation
# https://plausible.io/docs/self-hosting
plausible:
# Server
server:
base_url: http://localhost:10277
disable_registration: "true"
log_failed_login_attempts: false
# Logging
log_level: warn
# Database
db:
clickhouse_flush_interval_ms: 5000
clickhouse_max_buffer_size: 10000
# Mailer/SMTP Setup
email:
mailer_email: hello@plausible.local
mailer_name: ""
smtp_host_address: localhost
smtp_host_port: 25
smtp_user_name: ""
smtp_user_password: ""
smtp_host_ssl_enabled: false
smtp_retries: 2
mailer_adapter: Bamboo.SMTPAdapter
postmark_api_key: ""
mailgun_api_key: ""
mailgun_domain: ""
mailgun_base_uri: ""
mandrill_api_key: ""
sendgrid_api_key: ""
# IP Geolocation
# todo(investigate where automatic updates are stored and configure storage accordingly)
maxmind:
license_key: ""
edition: GeoLite2-City
# Google Search Integration
google:
client_id: ""
client_secret: ""
workload:
main:
podSpec:
initContainers:
db-create:
type: install
enabled: true
imageSelector: image
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
command: sh
args:
- -c
- /entrypoint.sh db createdb && /entrypoint.sh db migrate
db-migrate:
type: upgrade
enabled: true
imageSelector: image
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
command: sh
args:
- -c
- /entrypoint.sh db migrate
containers:
main:
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
env:
PORT: "{{ .Values.service.main.ports.main.port }}"
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
probes:
liveness:
type: http
path: /api/health
readiness:
type: http
path: /api/health
startup:
type: tcp
cnpg:
main:
enabled: true
user: plausible
database: plausible
clickhouse:
enabled: true
clickhouseUsername: plausible
clickhouseDatabase: plausible
portal:
open:
enabled: true