π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
docs: add more comments and configs for backend variables
Smaug67398fcdc298de68
diff --git a/backend/.env.example b/backend/.env.exampleindex c85f2162..9f656954 100644--- a/backend/.env.example+++ b/backend/.env.example@@ -1,16 +1,31 @@-JWT_SECRET=your_secret_key-DATABASE_USER=root-DATABASE_PASSWORD=root+# Sample .env file for Alexandrie backend (this file list all available configuration variables but you don't have to fill all of them, just the ones you need to change from their default values)+# General configurations (should be changed)FRONTEND_URL=http://localhost:3000COOKIE_DOMAIN=localhost+# Database configuration+DATABASE_USER=root+DATABASE_PASSWORD=root++## Security & JWT+JWT_SECRET=your_secret_key # Change this to a secure random string in production+++# S3 / MinIO configuration (optional, leave empty to disable)MINIO_ACCESSKEY=access_keyMINIO_SECRETKEY=secret_keyMINIO_ENDPOINT=localhost:9000MINIO_BUCKET=alexandrie++# SMTP configuration (optional, required only for password reset features)SMTP_HOST=smtp.example.comSMTP_PASSWORD=your_password+++# Application flags+CONFIG_DISABLE_SIGNUP=false # Disable the signup page if set to true (e.g. for personal use or invite-only instances)+CONFIG_DISABLE_NATIVE_LOGIN=false # Used to force OIDC-only authentication (e.g., for Keycloak users)\ No newline at end of file