mirror of
https://github.com/sotam0316/brain_dogfood.git
synced 2026-04-24 19:48:35 +09:00
v1.5: Fix missing required fields in example configuration files
This commit is contained in:
+10
-2
@@ -1,13 +1,21 @@
|
||||
# 뇌사료(Brain Dogfood) Environment Variables Template
|
||||
|
||||
# Flask Security
|
||||
# Flask Security (Required)
|
||||
SECRET_KEY=your_super_secret_key_here
|
||||
SESSION_LIFETIME_DAYS=30
|
||||
|
||||
# Authentication
|
||||
# Content Encryption (Required for Encrypted Memos)
|
||||
# Set a unique long string as a seed for Fernet key generation
|
||||
ENCRYPTION_SEED=your_encryption_seed_here
|
||||
|
||||
# Authentication (Required for Login)
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=admin
|
||||
|
||||
# AI Features (Optional)
|
||||
GEMINI_API_KEY=your_google_gemini_api_key_here
|
||||
GEMINI_MODEL=gemini-1.5-flash
|
||||
|
||||
# API Integration (Optional)
|
||||
# For Obsidian Plugin or external tools
|
||||
OBSIDIAN_API_TOKEN=your_secret_token_here
|
||||
|
||||
+20
-1
@@ -4,6 +4,25 @@
|
||||
"card_color": "rgba(30, 41, 59, 0.85)",
|
||||
"encrypted_border": "#00f3ff",
|
||||
"ai_accent": "#8b5cf6",
|
||||
"lang": "en",
|
||||
"enable_ai": false,
|
||||
"lang": "en"
|
||||
"enable_categories": false,
|
||||
"categories": [
|
||||
"Personal",
|
||||
"Work",
|
||||
"Idea"
|
||||
],
|
||||
"pinned_categories": [
|
||||
"Personal"
|
||||
],
|
||||
"upload_security": {
|
||||
"allowed_extensions": [
|
||||
"png", "jpg", "jpeg", "gif", "webp", "svg",
|
||||
"pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx",
|
||||
"zip", "rar", "7z", "txt", "md"
|
||||
],
|
||||
"blocked_extensions": [
|
||||
"exe", "bat", "cmd", "sh", "ps1", "vbs", "js", "php", "py"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user