-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
98 lines (83 loc) · 5.35 KB
/
.env.example
File metadata and controls
98 lines (83 loc) · 5.35 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
87
88
89
90
91
92
93
94
95
96
97
98
# ══════════════════════════════════════════════════════════════
# OpenFoundry — Environment Configuration
# Copy this file: cp .env.example .env
# ══════════════════════════════════════════════════════════════
# ── General ──────────────────────────────────────────────────
ENVIRONMENT=development
LOG_LEVEL=debug
RUST_LOG=info,open_foundry=debug
# ── Docker Compose ───────────────────────────────────────────
# Activates application services (90+) defined under profile "app".
# Without this, `docker compose up` only starts infra (postgres, valkey, nats, etc.).
COMPOSE_PROFILES=app
# ── Gateway ──────────────────────────────────────────────────
GATEWAY_HOST=0.0.0.0
GATEWAY_PORT=8080
OPENFOUNDRY_DOCKER_PROJECT_NAME=openfoundry-dev
# ── Local Infra Ports (optional) ─────────────────────────────
# The `just dev-stack` helper auto-picks free host ports when the defaults
# below are already occupied. Set these only if you want fixed host ports.
# OPENFOUNDRY_POSTGRES_HOST_PORT=5432
# OPENFOUNDRY_REDIS_HOST_PORT=6379
# OPENFOUNDRY_NATS_HOST_PORT=4222
# OPENFOUNDRY_NATS_MONITOR_HOST_PORT=8222
# OPENFOUNDRY_MINIO_API_HOST_PORT=9000
# OPENFOUNDRY_MINIO_CONSOLE_HOST_PORT=9001
# OPENFOUNDRY_VESPA_QUERY_HOST_PORT=18080
# OPENFOUNDRY_VESPA_CONFIG_HOST_PORT=19071
# Meilisearch is opt-in via `--profile demo` on infra/docker-compose.dev.yml;
# see ADR-0007. Set this only if you bring it up.
# OPENFOUNDRY_MEILISEARCH_HOST_PORT=7700
# ── Database (PostgreSQL) ────────────────────────────────────
DATABASE_URL=postgres://openfoundry:openfoundry@localhost:5432/openfoundry
DATABASE_MAX_CONNECTIONS=20
# ── Valkey (Redis-protocol; OSS BSD-3 fork, image valkey/valkey:8-alpine) ─
REDIS_URL=redis://localhost:6379
# ── NATS (Messaging) ────────────────────────────────────────
NATS_URL=nats://localhost:4222
# ── Object Storage (MinIO / S3) ─────────────────────────────
S3_ENDPOINT=http://localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET=openfoundry
S3_REGION=us-east-1
# ── Search (Vespa, Apache-2.0; production + DX engine) ─────
# Single-node Vespa container (see infra/docker-compose.yml). Query/feed
# endpoint on 18080, config-server on 19071. See ADR-0007.
VESPA_QUERY_URL=http://localhost:18080
VESPA_CONFIG_URL=http://localhost:19071
# ── Search (Meilisearch — DEMO PROFILE ONLY, see ADR-0007) ──
# Only relevant if you bring up the optional `demo` profile from
# infra/docker-compose.dev.yml. No service or test depends on it.
# MEILISEARCH_URL=http://localhost:7700
# MEILISEARCH_API_KEY=masterKey
# ── Iceberg REST Catalog ────────────────────────────────────
# Apache Polaris was removed from the default Compose stack on 2026-04-30
# (ADR-0008: Lakekeeper is the single Iceberg REST Catalog in Kubernetes,
# under infra/k8s/lakekeeper/). No Polaris/Lakekeeper service is started
# by infra/docker-compose.yml.
#
# Services that integrate with Iceberg (dataset-versioning-service,
# event-streaming-service, ...) read `ICEBERG_CATALOG_URL` as an OPTIONAL
# variable: when unset they fall back to the legacy dataset writer. Set
# it only if you point your local stack at an external Lakekeeper / REST
# catalog reachable from the containers.
# ICEBERG_CATALOG_URL=http://lakekeeper:8181/catalog
# Comma-separated list of extra databases the postgres init script will
# create on first boot (in addition to the default `openfoundry`).
# OPENFOUNDRY_POSTGRES_EXTRA_DATABASES=
# ── Vector DB ───────────────────────────────────────────────
# Qdrant se retira por restricción de licencia OSS; sustituto futuro: Vespa
# (Apache-2.0). Por ahora pgvector cubre el caso embebido y reutiliza
# DATABASE_URL (extensión `vector` sobre PostgreSQL).
# ── Auth / JWT ───────────────────────────────────────────────
JWT_SECRET=change-me-in-production-use-a-256-bit-key
JWT_EXPIRATION_SECONDS=3600
JWT_REFRESH_EXPIRATION_SECONDS=604800
# ── AI / LLM (optional) ─────────────────────────────────────
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# OLLAMA_URL=http://localhost:11434
# ── Observability (optional) ─────────────────────────────────
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# JAEGER_ENDPOINT=http://localhost:14268/api/traces