remove references to admin env vars

This commit is contained in:
ruslandoga 2022-12-20 00:22:00 +08:00
parent 5097a507fc
commit a54938ed01
2 changed files with 6 additions and 3 deletions

View File

@ -28,9 +28,12 @@ kubectl -n plausible create secret generic plausible-events-db-user --from-liter
kubectl -n plausible apply -f ./kubernetes kubectl -n plausible apply -f ./kubernetes
``` ```
You can now navigate to http://{hostname}:8000 and see the login screen. You can now navigate to http://{hostname}:8000 and see the registration screen for the admin user.
## 4. (Optional) Email verification
If you've enabled email verification with `ENABLE_EMAIL_VERIFICATION=true`, you will be prompted to enter a verification code which has been sent to your email. Please configure your server for SMTP to receive this email. [Here are Plausible's SMTP configuration options](https://plausible.io/docs/self-hosting-configuration#mailersmtp-setup).
When you first log in with your admin credentials, you will be prompted to enter a verification code which has been sent to your email. Please configure your server for SMTP to receive this email. [Here are Plausible's SMTP configuration options](https://plausible.io/docs/self-hosting-configuration#mailersmtp-setup).
Otherwise, run this command to verify all users in the database: Otherwise, run this command to verify all users in the database:
```bash ```bash

View File

@ -49,7 +49,7 @@ spec:
- "/bin/sh" - "/bin/sh"
- "-c" - "-c"
args: args:
- sleep 30 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin - sleep 30 && /entrypoint.sh db createdb && /entrypoint.sh db migrate
envFrom: envFrom:
- secretRef: - secretRef:
name: plausible-config name: plausible-config