-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 1.71 KB
/
Copy path.env.example
File metadata and controls
32 lines (25 loc) · 1.71 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
# Copy to .env and fill in your values:
# cp .env.example .env
# ── Database ──────────────────────────────────────────────────────────────────
POSTGRES_USER=hiveshare
POSTGRES_PASSWORD=changeme_use_a_strong_password
POSTGRES_DB=hiveshare
# ── Server ────────────────────────────────────────────────────────────────────
# Public URL the server is reachable at (used in invite links)
BASE_URL=https://hiveshare.yourdomain.com
# ── Embeddings (optional — full-text search used if not set) ──────────────────
# Uncomment ONE of the following:
# Option A: OpenAI
# EMBED_PROVIDER=openai
# OPENAI_API_KEY=sk-...
# Option B: Ollama (local, must be reachable from the container)
# EMBED_PROVIDER=ollama
# OLLAMA_BASE_URL=http://host.docker.internal:11434
# OLLAMA_EMBED_MODEL=nomic-embed-text
# ── History retention (optional) ──────────────────────────────────────────────
# HISTORY_TTL_DAYS=0 # purge history older than N days (0 = forever)
# HISTORY_MAX_VERSIONS=0 # keep at most N versions per hive (0 = unlimited)
# ── Service accounts (required if using SA/CI auth) ───────────────────────────
# Generate with: openssl rand -hex 32
JWT_SECRET=changeme_generate_with_openssl_rand_hex_32
# SA_TOKEN_TTL_MINUTES=15 # lifetime of minted JWTs (default 15)