- LfxClient (upload/run/info/delete, typed errors, serve-key auth) - Flows API: CRUD, versions, deploy, sync run, SSE stream proxy, runs - Approvals callback endpoint (flow terminal-state contract) - Runner: envelope in, status from approval side-effect (no interrupts) - Fixture generator (lfx serializers) + simple_rule/approval_handoff fixtures verified against real lfx serve - 14 tests green (real LFX subprocess + live uvicorn callback server)
28 lines
941 B
Text
28 lines
941 B
Text
# Copy to `.env` and fill in values. `.env` is gitignored.
|
|
FORGEJO_TOKEN=
|
|
|
|
# --- databases (compose service `db`) ---
|
|
POSTGRES_USER=kirche
|
|
POSTGRES_PASSWORD=
|
|
POSTGRES_DB=kirche_einfach
|
|
DATABASE_URL=postgresql+psycopg://kirche:<password>@db:5432/kirche_einfach
|
|
TEST_DATABASE_URL=postgresql+psycopg://kirche:<password>@db:5432/kirche_einfach_test
|
|
|
|
# --- langflow (authoring, dev only) ---
|
|
LANGFLOW_URL=http://langflow:7860
|
|
LANGFLOW_SUPERUSER=langflow
|
|
LANGFLOW_SUPERUSER_PASSWORD=
|
|
LANGFLOW_SECRET_KEY=
|
|
# Single static key; validated against env (LANGFLOW_API_KEY_SOURCE=env), superuser scope.
|
|
LANGFLOW_API_KEY=sk-
|
|
LANGFLOW_DATABASE_URL=postgresql://kirche:<password>@db:5432/langflow
|
|
|
|
# --- lfx (flow runtime) ---
|
|
LFX_URL=http://lfx:6004
|
|
LFX_API_KEY=lfx-
|
|
|
|
# --- API self-reference for flow callbacks (must be reachable FROM lfx) ---
|
|
CALLBACK_BASE_URL=http://app:8000
|
|
|
|
# --- LLM (optional; tests mock the provider without it) ---
|
|
# LLM_API_KEY=
|