Adding two new variables to disable registration and login #1

Merged
3wordchant merged 1 commits from javielico/plausible:main into main 2022-11-11 19:31:43 +00:00
Member

Adding the following variables to the config:

  • DISABLE_AUTH: Disables authentication completely, no registration, login will be shown.
  • DISABLE_REGISTRATION: Disables registration of new users, keep your admin credentials handy

As per the documentation https://plausible.io/docs/self-hosting-configuration

Adding the following variables to the config: * DISABLE_AUTH: Disables authentication completely, no registration, login will be shown. * DISABLE_REGISTRATION: Disables registration of new users, keep your admin credentials handy As per the documentation https://plausible.io/docs/self-hosting-configuration
javielico added 1 commit 2022-11-11 12:40:42 +00:00
3wordchant approved these changes 2022-11-11 19:31:30 +00:00
@ -10,3 +10,5 @@ ADMIN_USER_EMAIL=replace-me
ADMIN_USER_NAME=replace-me
ADMIN_USER_PWD=replace-me
SECRET_KEY_BASE=replace-me
DISABLE_AUTH=replace-me # true or false
Owner

At some point, it'd be nice to bring the Plausible recipe closer to our (undocumented) convention of having sensible defaults in .env files wherever possible, to avoid operators having to change too many settings to get things going — I opened coop-cloud/organising#359 to discuss, but the current approach seems fine for the moment 👌

At some point, it'd be nice to bring the Plausible recipe closer to our (undocumented) convention of having sensible defaults in `.env` files wherever possible, to avoid operators having to change too many settings to get things going — I opened coop-cloud/organising#359 to discuss, but the current approach seems fine for the moment 👌
javielico marked this conversation as resolved
3wordchant merged commit 22851a7d02 into main 2022-11-11 19:31:43 +00:00
Author
Member

Thank you @3wordchant, makes sense, let me know if I can help on any way!

Thank you @3wordchant, makes sense, let me know if I can help on any way!
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/plausible#1
No description provided.