Adds plausible.
This commit is contained in:
38
plausible/notes.md
Normal file
38
plausible/notes.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Plausible CE Notes
|
||||
|
||||
## ClickHouse
|
||||
|
||||
Plausible requires ClickHouse for analytics event storage. Unlike other app dependencies, ClickHouse is **bundled within the Plausible app** (not a separate Wild Cloud app). It runs in the same namespace with low-resource settings suitable for small/medium deployments.
|
||||
|
||||
ClickHouse data is stored in the `clickhouse-data` PVC (default 10Gi). Resize `clickhouseStorage` in your config before deploying if you expect heavy traffic.
|
||||
|
||||
## First Admin User
|
||||
|
||||
The first user to register becomes the site admin. After deploying:
|
||||
1. Open `https://plausible.<your-domain>`
|
||||
2. Register an account
|
||||
3. That account has admin access
|
||||
|
||||
## Registration Control
|
||||
|
||||
Set `disableRegistration` in config:
|
||||
- `"false"` — open registration (default, good for initial setup)
|
||||
- `"invite_only"` — admin can invite users
|
||||
- `"true"` — no new registrations
|
||||
|
||||
Set to `"invite_only"` or `"true"` after creating your admin account.
|
||||
|
||||
## Email / SMTP
|
||||
|
||||
Plausible can send email for password resets and notifications. Configure these manually in your instance's `secrets.yaml` and environment variables:
|
||||
- `MAILER_ADAPTER`: `Bamboo.SMTPAdapter`
|
||||
- `MAILER_EMAIL`: from address
|
||||
- `SMTP_HOST_ADDR`, `SMTP_HOST_PORT`, `SMTP_USER_NAME`, `SMTP_USER_PWD`
|
||||
|
||||
## Tracker Script
|
||||
|
||||
Add the tracking script to your websites:
|
||||
|
||||
```html
|
||||
<script defer data-domain="yourdomain.com" src="https://plausible.<your-domain>/js/script.js"></script>
|
||||
```
|
||||
Reference in New Issue
Block a user