Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 30 additions & 18 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# Default single-stack mode. Possible: controlplane, dataplane.
CF_MCP_STACK_MODE=dataplane

# cf-controlplane checkout. Default: v1.0.6, matching the default image release.
# cf-controlplane checkout. Default: v1.0.7, matching the publisher contract.
# Possible: any branch, tag, or commit accepted by git checkout.
CF_CONTROLPLANE_REF=v1.0.6
CF_CONTROLPLANE_REF=v1.0.7

# cf-controlplane repository. Default: IBM upstream.
# Possible: any git clone URL.
Expand Down Expand Up @@ -52,22 +52,22 @@ CF_INTEGRATION_DIR=.integration
# Possible: main, user/luca/cp-parity-tool-names, any ref accepted by git checkout.
# CF_DATAPLANE_REF=user/luca/cp-parity-tool-names

# cf-dataplane repository. Default: contextforge-gateway-rs upstream.
# cf-dataplane repository. Default: contextforge-org upstream.
# Possible: any git clone URL.
CF_DATAPLANE_REPO=https://github.com/contextforge-gateway-rs/contextforge-gateway-rs.git
CF_DATAPLANE_REPO=https://github.com/contextforge-org/contextforge-data-plane.git

# cf-dataplane checkout directory. Default: .integration/contextforge-gateway-rs.
CF_DATAPLANE_DIR=.integration/contextforge-gateway-rs
# cf-dataplane checkout directory. Default: .integration/contextforge-data-plane.
CF_DATAPLANE_DIR=.integration/contextforge-data-plane

# Local cf-dataplane image tag used when CF_DATAPLANE_REF is set and CF_DATAPLANE_IMAGE is unset.
# Possible: any Docker image reference.
CF_DATAPLANE_LOCAL_IMAGE=contextforge-gateway-rs/contextforge-gateway-rs:local
CF_DATAPLANE_LOCAL_IMAGE=contextforge-org/contextforge-data-plane:local

# Full cf-dataplane image override. With no source ref or full override, the
# published default derives from CF_DATAPLANE_VERSION (currently 0.1.0). Leave
# published default derives from CF_DATAPLANE_VERSION (currently latest). Leave
# the full override unset in source mode to use CF_DATAPLANE_LOCAL_IMAGE.
# CF_DATAPLANE_IMAGE=ghcr.io/contextforge-gateway-rs/contextforge-gateway-rs:<tag>
CF_DATAPLANE_VERSION=0.1.0
# CF_DATAPLANE_IMAGE=ghcr.io/contextforge-org/contextforge-data-plane:<tag>
CF_DATAPLANE_VERSION=latest

# cf-dataplane image platform. Default: auto.
# auto resolves to linux/amd64 in published image mode, or the Docker server platform
Expand All @@ -83,32 +83,44 @@ CF_DATAPLANE_PUBLISHER_INTERVAL_SECONDS=2
# Possible: non-negative integer. Use 60 to restore the dataplane image default for load benchmarks.
CF_DATAPLANE_USER_CONFIG_CACHE_EXPIRY_SECONDS=0

# Optional comma-separated transport allowlist overrides. Defaults cover the
# loopback nginx origin using NGINX_PORT and the internal `nginx` service name
# used by containerized Locust runs.
# CF_DATAPLANE_MCP_ALLOWED_HOSTS=127.0.0.1:8080,localhost:8080,nginx
# CF_DATAPLANE_MCP_ALLOWED_ORIGINS=http://127.0.0.1:8080,http://localhost:8080

# Guarded Fast Time contract and default registered virtual server.
CF_FAST_TIME_EXPECTED_IMAGE=ghcr.io/ibm/cfex-mcp-fast-time-server:latest
CF_FAST_TIME_SERVER_ID=9779b6698cbd4b4995ee04a4fab38737

# Public nginx port. Default: 8080.
NGINX_PORT=8080

# Optional fixed loopback port for the direct conformance fixture. Zero asks
# Docker to allocate an ephemeral port.
# CF_CONFORMANCE_PORT=0
# Direct public-origin override; otherwise derived from NGINX_PORT.
# MCP_CLI_BASE_URL=http://127.0.0.1:8080

# Default MCP protocol version for probe, load, live, and Inspector workflows.
# Conformance run keeps its pinned 2026-07-28 default unless overridden.
MCP_PROTOCOL_VERSION=2025-11-25
# Optional global MCP protocol override. Current probe/load/Inspector/live
# workflows default to the latest dataplane-compatible session protocol,
# 2025-11-25. Conformance keeps its pinned 2026-07-28 readiness default.
# MCP_PROTOCOL_VERSION=2026-07-28

# Admin/test token identity. Stable random local secrets are created automatically
# under CF_INTEGRATION_DIR when these overrides are unset.
MCP_JWT_SUBJECT=admin@example.com
# Local integration administrator. Stable random signing/encryption secrets are
# created automatically under CF_INTEGRATION_DIR when their overrides are unset.
PLATFORM_ADMIN_EMAIL=admin@example.com
PLATFORM_ADMIN_PASSWORD=changeme
# JWT_SECRET_KEY=<integration-secret>
# AUTH_ENCRYPTION_SECRET=<integration-encryption-secret>

# Optional existing fixture and token overrides. Empty values use the harness
# Fast Time fixture and a Rust-generated mode-appropriate JWT.
# Fast Time fixture; managed dataplane workflows request and revoke a
# control-plane API token whose UUID subject matches the published snapshot.
# MCP_SERVER_ID=<virtual-server-id>
# MCPGATEWAY_BEARER_TOKEN=<token>

# Shared Locust/Goose load defaults. A smoke run uses 1 user at 1 user/second
# Locust load defaults. A smoke run uses 1 user at 1 user/second
# for 10s unless LOCUST_* is exported by the calling process.
LOCUST_USERS=100
LOCUST_SPAWN_RATE=10
Expand Down
Loading