-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
38 lines (33 loc) · 1.94 KB
/
.env.example
File metadata and controls
38 lines (33 loc) · 1.94 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
# Copy this file to .env and fill in the keys you want to use.
# .env is gitignored and never committed.
#
# Pass to the Docker container with:
# make docker-up (Compose picks up .env automatically)
# make docker-run (auto-detected when .env exists)
# docker run --env-file .env ...
# ── LLM provider API keys ────────────────────────────────────────────────────
ATTRACTOR_ANTHROPIC_API_KEY=
ATTRACTOR_OPENAI_API_KEY=
ATTRACTOR_GEMINI_API_KEY=
# ATTRACTOR_GOOGLE_API_KEY= # alternative to ATTRACTOR_GEMINI_API_KEY
# ── Custom OpenAI-compatible API (Ollama, LM Studio, vLLM, etc.) ─────────────
# These bootstrap the settings on first start; values saved via the UI take
# precedence over these env vars on subsequent starts.
ATTRACTOR_CUSTOM_API_ENABLED=false
ATTRACTOR_CUSTOM_API_HOST=http://localhost
ATTRACTOR_CUSTOM_API_PORT=11434
ATTRACTOR_CUSTOM_API_KEY=
ATTRACTOR_CUSTOM_API_MODEL=llama3.2
# ── Database (optional — defaults to SQLite at /app/data/attractor.db) ───────
# ATTRACTOR_DB_TYPE=postgresql
# ATTRACTOR_DB_HOST=localhost
# ATTRACTOR_DB_PORT=5432
# ATTRACTOR_DB_NAME=attractor
# ATTRACTOR_DB_USER=app
# ATTRACTOR_DB_PASSWORD=secret
# ── Projects directory ────────────────────────────────────────────────────────
# ATTRACTOR_PROJECTS_DIR=/app/projects # where pipeline output is written (default: projects/)
# ── Docker port overrides (Docker Compose only) ───────────────────────────────
# ATTRACTOR_PORT=7070 # host port for the Attractor web UI
# OLLAMA_PORT=11434 # host port for Ollama (--profile ollama)
# POSTGRES_PORT=5432 # host port for PostgreSQL (--profile postgres)