diff --git a/.env b/.env index b056469..9fb9cba 100644 --- a/.env +++ b/.env @@ -1,15 +1,21 @@ -# Required variables -NOTESNOOK_API_SECRET= # This should be a randomly generated secret +# Name of your self hosted instance +# Used in the client apps for identification purposes +INSTANCE_NAME= + +# This should be a randomly generated secret +# required +NOTESNOOK_API_SECRET= # SMTP settings required for delivering emails SMTP_USERNAME= SMTP_PASSWORD= SMTP_HOST= SMTP_PORT= -NOTESNOOK_SENDER_EMAIL= # optional -NOTESNOOK_SENDER_NAME= # optional -SMTP_REPLYTO_NAME= # optional -SMTP_REPLYTO_EMAIL= # optional +# optional +SMTP_REPLYTO_NAME= +SMTP_REPLYTO_EMAIL= +NOTESNOOK_SENDER_NAME= +NOTESNOOK_SENDER_EMAIL= # MessageBird or Twilio are used for 2FA via SMS # You can setup either of them or none of them but keep in mind @@ -39,8 +45,10 @@ NOTESNOOK_CORS_ORIGINS= # optional NOTESNOOK_APP_HOST= # Minio is used for S3 storage -MINIO_ROOT_USER= # aka. AccessKeyId (must be > 3 characters) -MINIO_ROOT_PASSWORD= # aka. AccessKey (must be > 8 characters) +# aka. AccessKeyId (must be > 3 characters) +MINIO_ROOT_USER= +# aka. AccessKey (must be > 8 characters) +MINIO_ROOT_PASSWORD= # If you don't want to use Minio, you can use any other S3 compatible # storage service. @@ -48,4 +56,8 @@ S3_ACCESS_KEY= S3_ACCESS_KEY_ID= S3_SERVICE_URL= S3_REGION= -S3_BUCKET_NAME=attachments # required \ No newline at end of file +# required +S3_BUCKET_NAME=attachments + +# Disable new accounts creation +DISABLE_ACCOUNT_CREATION=0