Adding two new variables to disable registration and login #1
|
@ -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
|
||||
DISABLE_REGISTRATION=replace-me # true or false
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
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 👌