-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (60 loc) · 2.65 KB
/
Copy path.env.example
File metadata and controls
67 lines (60 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# ─────────────────────────────────────────────────
# Joidy — Environment Variables
# Copy this file to .env and fill in your values.
# NEVER commit .env to git.
# ─────────────────────────────────────────────────
# ── AI Providers (at least one required) ──────────
# Gemini: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=
# OpenAI: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Anthropic: https://console.anthropic.com/
ANTHROPIC_API_KEY=
# OpenRouter: https://openrouter.ai/settings
OPENROUTER_API_KEY=
# Cohere: https://dashboard.cohere.com/api-keys
COHERE_API_KEY=
# Ollama (local models): http://localhost:11434
OLLAMA_BASE_URL=http://host.docker.internal:11434
# Model selection (format: "provider:model")
# Examples:
# gemini:gemini-2.0-flash
# openai:gpt-4
# anthropic:claude-3-opus-20240229
# ollama:llama3
# openrouter:anthropic/claude-3-opus
LLM_MODEL=gemini:gemini-2.0-flash
EMBEDDING_MODEL=gemini:models/text-embedding-004
# ── Obsidian Vault ────────────────────────────────
# Absolute path to your Obsidian vault folder on the host
# Example: /home/username/Documents/MyVault
OBSIDIAN_VAULT_PATH=/path/to/your/obsidian/vault
# ── GitHub OAuth (Device Flow) ──────────────────
# Get at: https://github.com/settings/developers
# Create new OAuth App for device flow
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Your OAuth redirect URL (for web flow fallback)
GITHUB_OAUTH_WEB_URL=
# ── GitHub PAT (legacy - prefer OAuth) ────────────────
# Personal Access Token with repo scope (legacy method)
GITHUB_TOKEN=
GITHUB_USERNAME=
# Webhook callback URL
GITHUB_WEBHOOK_URL=
# ── Telegram Bot (optional) ───────────────────────
# Create a bot via @BotFather on Telegram
# Leave empty to disable Telegram bot
TELEGRAM_BOT_TOKEN=
# Your Telegram user ID (only this user can talk to the bot)
# Get it from @userinfobot on Telegram
TELEGRAM_ALLOWED_USER_ID=
# ── Application ───────────────────────────────────
# Secret key for session signing (generate with: openssl rand -hex 32)
SECRET_KEY=change_this_to_a_random_secret_key
APP_ENV=development
# ── Ports (change if conflicts with existing services) ──
FRONTEND_PORT=3000
API_PORT=8000
AI_SERVICE_PORT=8002
WORKER_PORT=8001