Files
truecharts/charts/stable/plausible/values.yaml
T
Kjeld Schouten f8e33766bf feat(common): remove portal and ensure appUrl is used for notes.txt (#34047)
**Description**

This removes old portal references (from truenas times) from common and
notes.txt
Also ensures chartContext is used for notes.txt

Technically breaking in case any down-stream users use portal
configmap/data

⚒️ Fixes  #31880

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2025-04-07 22:04:57 +02:00

119 lines
3.0 KiB
YAML

image:
repository: docker.io/plausible/analytics
pullPolicy: IfNotPresent
tag: v2.0.0@sha256:cd5f75e1399073669b13b4151cc603332a825324d0b8f13dfc9de9112a3c68a1
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