-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
58 lines (49 loc) · 2.61 KB
/
env.example
File metadata and controls
58 lines (49 loc) · 2.61 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
# =============================================================================
# Synsci Delphi — Configuration
# =============================================================================
# This file is generated by `npx @synsci/delphi`. Most users won't need to
# touch it.
#
# - Run `delphi config` for guided changes (provider, model, keys, password).
# - After manual edits, run `delphi reload` to pick them up.
# - For advanced knobs (rate limits, performance, OAuth, reranker, etc.) see
# docs/env-advanced.md in the repo.
# =============================================================================
# Dashboard access
# =============================================================================
# Web UI password — also used to mint API keys at install time.
SYSTEM_PASSWORD=
# =============================================================================
# Embeddings
# =============================================================================
# Provider: local | gemini | openai
EMBEDDING_PROVIDER=local
# Model id. Interpretation depends on provider:
# - local → any HuggingFace model (e.g. BAAI/bge-base-en-v1.5,
# sentence-transformers/all-mpnet-base-v2, intfloat/e5-base-v2)
# - gemini → fixed: gemini-embedding-001
# - openai → fixed: text-embedding-3-small
EMBEDDING_MODEL=BAAI/bge-base-en-v1.5
# Provider keys — set the one matching your provider above.
# HF_TOKEN=hf_xxx # Local: required for gated/private models, optional otherwise
# GEMINI_API_KEY=AIza... # Gemini: required
# OPENAI_API_KEY=sk-... # OpenAI: required
# =============================================================================
# Optional overrides (uncomment and edit as needed)
# =============================================================================
# Use a paid HuggingFace Inference Endpoint instead of free serverless.
# HF_INFERENCE_ENDPOINT=https://your-endpoint.us-east-1.aws.endpoints.huggingface.cloud
# Override host ports if 8742 / 5432 / 3000 conflict with something else.
# SYNSC_API_PORT=8742
# POSTGRES_PORT=5432
# Set if the dashboard isn't on http://localhost:3000.
# FRONTEND_URL=http://localhost:3000
# =============================================================================
# Auto-generated by installer — do not edit unless you know what you're doing
# =============================================================================
# Rotating SERVER_SECRET invalidates every existing session token.
SERVER_SECRET=
POSTGRES_USER=synsc
POSTGRES_PASSWORD=
POSTGRES_DB=synsc
DATABASE_URL=postgresql://synsc:<auto>@postgres:5432/synsc