-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
86 lines (75 loc) · 3.96 KB
/
.env.sample
File metadata and controls
86 lines (75 loc) · 3.96 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
75
76
77
78
79
80
81
82
83
84
85
86
# ══════════════════════════════════════════════════════════════════
# Geny — .env Sample
# ══════════════════════════════════════════════════════════════════
# Copy this file to .env and customize values as needed.
#
# cp .env.sample .env
#
# All docker-compose files (yml, dev, prod) reference these values.
# ══════════════════════════════════════════════════════════════════
# ── Port Configuration ──────────────────────────────────────────
# Backend (FastAPI) — exposed on host
BACKEND_PORT=8000
# Frontend (Next.js) — exposed on host
FRONTEND_PORT=3000
# Nginx (Production only) — exposed on host
# NGINX_PORT=80
# ── PostgreSQL Configuration ────────────────────────────────────
# Exposed on host (container always listens on 5432 internally)
POSTGRES_PORT=5432
# Database name
POSTGRES_DB=geny
# Database user
POSTGRES_USER=geny
# Database password (⚠️ Change this in production!)
POSTGRES_PASSWORD=geny123
# ── General ─────────────────────────────────────────────────────
TIMEZONE=Asia/Seoul
# ── MemoryProvider (Phase 2) ────────────────────────────────────
# Per-session MemoryProvider (geny-executor ≥ 0.20.0). Leave
# MEMORY_PROVIDER unset or "disabled" to keep the registry dormant —
# Geny's legacy SessionMemoryManager keeps full ownership in that case.
#
# Options:
# ephemeral : in-memory only (lost on restart).
# file : filesystem-rooted; requires MEMORY_ROOT.
# sql : SQLite or Postgres; requires MEMORY_DSN.
# Override auto-detect with MEMORY_DIALECT=sqlite|postgres.
#
# MEMORY_PROVIDER=ephemeral
# MEMORY_DSN=
# MEMORY_DIALECT=
# MEMORY_ROOT=
# MEMORY_SCOPE=session
# MEMORY_TIMEZONE=
#
# Phase 4 attach flag — set to `true` to wire provisioned providers
# into pipeline Stage 2 (ContextStage.provider). Default `false` keeps
# the legacy SessionMemoryManager authoritative until Phase 5 migrates
# each layer (STM, LTM, Notes, Vector, Curated/Global).
# MEMORY_PROVIDER_ATTACH=false
#
# Phase 7 API routing flag — when `true`, /api/agents/{id}/memory/*
# endpoints prefer the per-session MemoryProvider over the legacy
# SessionMemoryManager. Default `false` keeps the legacy path. The
# scaffold currently logs which backend would have served each request
# but always uses legacy; flipping the flag activates real routing
# once the body-swap PR lands.
# MEMORY_API_PROVIDER=false
#
# Phase 5 per-layer legacy toggles — default `true` (legacy
# SessionMemoryManager authoritative). Flip each to `false` as its
# Phase 5 PR merges and production validation succeeds.
# MEMORY_LEGACY_STM=true
# MEMORY_LEGACY_LTM=true
# MEMORY_LEGACY_NOTES=true
# MEMORY_LEGACY_VECTOR=true
# MEMORY_LEGACY_CURATED=true
# ── Environment Service (Phase 3) ───────────────────────────────
# Where EnvironmentManifest templates (*.json) are stored. Relative
# paths are resolved from the backend's working directory inside the
# container (/app). Default matches geny-executor-web for portability.
# ENVIRONMENT_STORAGE_PATH=./data/environments
# ── Production Only ─────────────────────────────────────────────
# Domain for Nginx reverse proxy
# DOMAIN=geny.example.com