-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (58 loc) · 3.47 KB
/
Copy path.env.example
File metadata and controls
74 lines (58 loc) · 3.47 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
68
69
70
71
72
73
74
# Harmonizer Environment Configuration
# Copy this file to .env and fill in your values.
#
# This single .env serves two consumers:
# * docker compose — substitutes ${VAR} in docker-compose.yml (Postgres creds,
# ports, DOCKER_GID, the host project dir, ...).
# * the app — pydantic-settings reads HARMONIZER_*-prefixed vars (plus the
# vendor-standard ANTHROPIC_API_KEY) at startup.
# Loading priority: env vars > .env > defaults
#############################################
# SERVER
#############################################
# PORT=8080 # Published web server port (compose)
#############################################
# PROVIDER SELECTION & MODEL OVERRIDES
#############################################
# HARMONIZER_PROVIDER=anthropic # Agent backend the factory dispatches on
# HARMONIZER_MODEL= # Model id; unset defers to the CLI/provider default
#############################################
# PROVIDER CREDENTIALS
#############################################
# Direct Anthropic API — get your key from https://console.anthropic.com
ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
#############################################
# DATABASE
#############################################
# Docker: docker-compose.yml builds HARMONIZER_DATABASE_URL from these + the
# `postgres` service hostname, so normally you only edit the values here.
POSTGRES_USER=harmonizer
POSTGRES_PASSWORD=harmonizer_dev_password
POSTGRES_DB=harmonizer
POSTGRES_PORT=5432 # Host port; change to avoid conflicts with other Postgres instances
# App (local dev, no Docker): set the sync-driver URL directly. psycopg (v3) is
# the sync driver matching the app's engine. Unset, the app falls back to a
# local SQLite file (fine for single-process dev, NOT for container isolation).
# HARMONIZER_DATABASE_URL=postgresql+psycopg://harmonizer:harmonizer_dev_password@localhost:5432/harmonizer
#############################################
# JOBS & ORCHESTRATION
#############################################
# HARMONIZER_JOBS_ROOT=jobs # Root dir for per-job directories (compose sets /app/jobs)
# HARMONIZER_MAX_ITERATIONS=10 # Default orchestrator iteration budget
#############################################
# CONTAINER ISOLATION (per-job sibling containers)
#############################################
# HARMONIZER_USE_CONTAINER_ISOLATION=1 # 1 = run each job in a sibling container; 0 = in-process loop
# HARMONIZER_JOB_IMAGE=harmonizer-agent:latest # Image the per-job container runs
# HARMONIZER_CONTAINER_APP_DIR=/app # App path inside the container (WORKDIR)
# HARMONIZER_AGENT_NETWORK= # Explicit Docker network; unset auto-detects the compose network
# Host path of THIS project dir on the Docker host. Sibling containers are
# launched on the host daemon, so their bind-mount sources must be host paths;
# the runner translates ${HARMONIZER_CONTAINER_APP_DIR}/... → this. Compose
# defaults it to ${PWD}; set explicitly if compose runs from another directory.
# HARMONIZER_HOST_PROJECT_DIR=
# GID of the host's docker group, so the web container can talk to the mounted
# socket. Find it with: stat -c '%g' /var/run/docker.sock (Linux)
# stat -f '%g' /var/run/docker.sock (macOS)
# DOCKER_GID=999
# HARMONIZER_RESTART_POLICY=unless-stopped # compose restart policy for postgres/web