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
2 changed files with 4 additions and 0 deletions

View File

@ -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
javielico marked this conversation as resolved
Review

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 👌
DISABLE_REGISTRATION=replace-me # true or false

View File

@ -17,6 +17,8 @@ services:
- DATABASE_URL=postgres://plausible:plausible@${STACK_NAME}_db:5432/plausible
- SMTP_HOST_ADDR
- MAILER_EMAIL
- DISABLE_REGISTRATION
- DISABLE_AUTH
networks:
- proxy
- internal