Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

docs: correct .env.example for backend (MINIO_PUBLIC_URL requiried), and simplify minio launch

Smaugace48dbfd577
diff --git a/Makefile b/Makefile
index 84eeb448..be31a053 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,11 @@ frontendh:
cd frontend && bunx --bun nuxt dev --host
minio:
+ MINIO_ROOT_USER=alexandrie-access MINIO_ROOT_PASSWORD=alexandrie-secret \
minio server ./minio --console-address :9001 --address "localhost:9000"
minioh:
+ MINIO_ROOT_USER=alexandrie-access MINIO_ROOT_PASSWORD=alexandrie-secret \
minio server ./minio --address 0.0.0.0:9000 --console-address 0.0.0.0:9001
migrate:
diff --git a/backend/.env.example b/backend/.env.example
index c225e0e0..e30a71b2 100644
--- a/backend/.env.example
+++ b/backend/.env.example
@@ -16,10 +16,11 @@ JWT_SECRET=your_secret_key # Change this to a secure r
ADMIN_ACCOUNTS=id1,id2,id3 # Comma-separated list of user IDs that should have admin privileges (e.g., 1,2,3). Optional.
# S3 / MinIO configuration (optional, leave empty to disable)
-MINIO_ACCESSKEY=access_key
-MINIO_SECRETKEY=secret_key
+MINIO_ACCESSKEY=alexandrie-access
+MINIO_SECRETKEY=alexandrie-secret
MINIO_ENDPOINT=localhost:9000
MINIO_BUCKET=alexandrie
+MINIO_PUBLIC_URL=http://localhost:9000
# SMTP configuration (optional, required only for password reset features)