Configuration¶
This page is the reference of the environment variables read by the Spongram service and by the Graphiti container. It gives the default in the code for each one and says where the server image, the Compose file or the Swarm stack file sets a different value. Switches that turn a feature on or off are explained in more detail in Feature flags.
How settings are read¶
Service settings. spongram_proxy/config.py defines a settings class with the prefix
SPONGRAM_: the field database_url is read from SPONGRAM_DATABASE_URL, admin_token from
SPONGRAM_ADMIN_TOKEN, and so on. Two have no default and the service does not start without
them: SPONGRAM_DATABASE_URL and SPONGRAM_ADMIN_TOKEN. Unknown variables are ignored.
Module settings. The other variables on this page are read directly from the process environment by the module that uses them, some once when the module is imported. Treat every change as requiring a restart of the container.
Three layers of defaults. A value can come from, in increasing priority:
- the default in the code (the "Default" column below);
- an
ENVline ofspongram_proxy/Dockerfile, the server image default; - the service environment: the
environment:block ofdocker-compose.ymlordocker/docker-stack.yml, whose${VAR:-fallback}entries take your value or a fallback.
The table Defaults that differ by layer lists every variable for which the layers disagree.
Runtime configuration in the database. The inference provider, its URL, its key, the three
model names, the embedding dimension and two Sleeper tunables are stored in the Postgres table
spongram_runtime_config and edited from the admin UI. For those, the database wins over the
environment (see Inference providers).
Boolean values. Parsing depends on the variable:
| Kind | Values that turn it on | Values that turn it off |
|---|---|---|
Off by default (most *_ENABLED) |
1, true, yes, on, any case |
anything else, including empty |
SPONGRAM_SLEEPER_ENABLED, SPONGRAM_DREAM_ENABLED, SPONGRAM_DREAM_RESOLVE_ENABLED |
exactly 1, true or yes, lower case |
anything else (on, True and TRUE are off) |
SPONGRAM_DREAM_FORGETTING_ENABLED |
1, true, yes, any case |
anything else |
On by default (SPONGRAM_HIDE_INVALID_FACTS, SPONGRAM_CLIENT_TAG_ENABLED, SPONGRAM_EPISODES_CHRONO_ENABLED, SPONGRAM_DELETE_KEEPS_CONFIRMED_FACTS, SPONGRAM_LANGFUSE_ENABLED) |
anything else, including empty or a typo | 0, false, no, off, any case |
SPONGRAM_RUN_MIGRATIONS |
anything else | false, 0, no, off, any case |
Core¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_EDITION |
cloud |
cloud is the server, self-hosted included (Compose, Swarm, Kubernetes), and the default. local is the desktop edition: embedded graph and SQLite, single brain |
SPONGRAM_ADMIN_TOKEN |
required | Bearer token of /admin/api/* and /metrics, and login of the admin UI. With the Cloud control plane it is the installation and recovery secret |
SPONGRAM_PUBLIC_URL |
http://localhost:8091 |
URL clients use. Written into generated client bundles; expected origin of console requests with the Cloud control plane |
SPONGRAM_LISTEN_PORT |
8091 |
Port the HTTP server binds |
SPONGRAM_LISTEN_HOST |
0.0.0.0 |
The image entrypoint always binds 0.0.0.0; the service uses this value to build the loopback URL of its own internal calls |
SPONGRAM_LOG_LEVEL |
INFO |
Python logging level |
SPONGRAM_AUTH_CACHE_TTL |
300 |
Seconds a resolved brain key stays in the in-memory authentication cache |
SPONGRAM_AUTH_CACHE_SIZE |
1024 |
Entries in that cache |
SPONGRAM_RATE_LIMIT_PER_MIN |
100 |
Requests per minute and per brain on brain-key routes (token bucket in memory). 0 disables the limit |
SPONGRAM_ENCRYPTION_KEY |
empty | Fernet key (url-safe base64 of 32 bytes) that encrypts the provider API key stored in the database. Empty: a key is derived from SPONGRAM_ADMIN_TOKEN. Mandatory, and never derived, with the Cloud control plane and for per-request inference keys. Keep it stable |
SPONGRAM_INTERNAL_AUTH_TOKEN |
none | Shared secret that protects /_internal/v1/*. Graphiti presents it as its OPENAI_API_KEY. Without it the proxy answers 503 to every call |
Postgres¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_DATABASE_URL |
required | DSN postgresql://user:password@host:5432/db, or aws-secretsmanager://<secret-id> (see AWS). In the desktop edition, a SQLite location |
SPONGRAM_MIGRATION_DATABASE_URL |
unset | DSN of the schema-owner role. The entrypoint uses it for migrations when set, else SPONGRAM_DATABASE_URL. Required by python -m spongram_proxy.cloud.install migrate |
SPONGRAM_RUN_MIGRATIONS |
true |
Apply pending migrations when the container starts |
SPONGRAM_ADOPT_SCHEMA |
empty | 0033, legacy or 0045: adopt an existing database that has no migration journal. Read only while the journal does not exist (see Upgrades and migrations) |
SPONGRAM_PG_COMMAND_TIMEOUT_SEC |
30 |
Timeout of a single SQL command |
SPONGRAM_CODEMAP_LOCK_WAIT_SEC |
10 |
How long a code-map ingestion waits for the per-repository Postgres advisory lock. Keep it well below the command timeout |
The Compose and stack files also use POSTGRES_USER, POSTGRES_PASSWORD and POSTGRES_DB to
configure the Postgres container and to build SPONGRAM_DATABASE_URL.
Neo4j¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_NEO4J_URI |
bolt://neo4j:7687 |
Bolt URI |
SPONGRAM_NEO4J_USER |
neo4j |
User |
SPONGRAM_NEO4J_PASSWORD |
empty | Password. The Sleeper and Dream workers require it |
SPONGRAM_NEO4J_QUERY_TIMEOUT_SEC |
30 |
Transaction timeout of an ordinary Cypher query |
SPONGRAM_NEO4J_SCAN_TIMEOUT_SEC |
120 |
Transaction timeout of the known full-scan queries |
SPONGRAM_NEO4J_INGEST_TIMEOUT_SEC |
300 |
Transaction timeout of a code-map ingestion statement |
SPONGRAM_NEO4J_ACQUIRE_TIMEOUT_SEC |
10 |
Wait for a connection from the driver pool |
SPONGRAM_NEO4J_CONNECT_TIMEOUT_SEC |
10 |
TCP connection timeout |
SPONGRAM_NEO4J_LIVENESS_CHECK_TIMEOUT_SEC |
30 |
A pooled connection idle for longer is checked before use. 0 always checks |
SPONGRAM_NEO4J_MAX_CONN_LIFETIME_SEC |
3600 |
Maximum age of a pooled connection. The server image sets 600 so connections are recycled before an overlay network drops them as idle |
NEO4J_PASSWORD, NEO4J_HTTP_PORT and NEO4J_BOLT_PORT are substitution variables of the
Compose file (container password and published host ports).
Graphiti¶
On the Spongram side:
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_GRAPHITI_URL |
http://graphiti-mcp:8000 |
Base URL of the Graphiti MCP server. Spongram posts to /mcp (no trailing slash) with Host: localhost:<port> and probes /health |
On the Graphiti container:
| Variable | Value in the shipped files | Meaning |
|---|---|---|
OPENAI_API_URL |
http://spongram:8091/_internal/v1/graphiti |
Substituted into the baked configuration file as the api_url of both the LLM and the embedder |
OPENAI_BASE_URL |
same value | Base URL the OpenAI SDK falls back to when a client is created without an explicit one |
OPENAI_API_KEY |
the value of SPONGRAM_INTERNAL_AUTH_TOKEN |
Not a provider key: the secret the Spongram proxy checks |
NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, NEO4J_DATABASE |
bolt://neo4j:7687, neo4j, your password, neo4j |
Graph connection |
GRAPHITI_GROUP_ID |
main |
Default group at the Graphiti layer. Unused in normal operation: Spongram injects the brain's group_id on every call |
SEMAPHORE_LIMIT |
10 |
Graphiti's limit on concurrent LLM work. Lower it if the inference endpoint is saturated |
GRAPHITI_TELEMETRY_ENABLED |
false, set in the image |
See below |
SPONGRAM_DELETE_LOCK_WAIT_SECONDS |
45 (code default in the image) |
How long a delete tool waits for the memory being written in the same brain before answering "nothing was deleted, retry" |
SPONGRAM_CLOUD_JOB_RECEIPTS, SPONGRAM_EXECUTION_SPOOL |
unset | Cloud control plane only: enable durable execution receipts and name their spool directory. Set by the Cloud overlays and the Helm chart |
Why both OPENAI_API_URL and OPENAI_BASE_URL¶
Graphiti does not call your inference provider. Both variables point at the inference proxy
inside Spongram, which forwards to the provider configured in the admin UI and substitutes the
model name and the provider key on each request. Graphiti's OpenAI clients can obtain their
base URL through two paths: the baked configuration file, which substitutes OPENAI_API_URL,
and the OpenAI SDK's own environment fallback, OPENAI_BASE_URL, used whenever a client is
created without an explicit URL. A client created through the second path with
OPENAI_BASE_URL unset sends its requests to the SDK default, api.openai.com, carrying the
internal token as a key. The symptom is a 401 in the Graphiti logs and memories that are
acknowledged but never appear in the graph. Set both, to the same value.
The image also guards this at start: it refuses to run unless the configured URL ends with
/_internal/v1/graphiti.
Routing every call through the proxy is what guarantees that memory operations reach no LLM other than the one you configured.
GRAPHITI_TELEMETRY_ENABLED=false¶
graphiti-core sends anonymous usage events to a third-party analytics service unless this
variable says otherwise. An on-premises memory must not call a third party. The Graphiti image
sets the variable to false and its build fails if telemetry still reads as enabled. The
Spongram package sets the same default on import, which covers the desktop edition, where
graphiti-core is embedded. A value you set explicitly is left alone.
Inference¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_INFERENCE_API_KEY |
empty | Provider key used while no key is stored in the database |
SPONGRAM_INFERENCE_BASE_URL |
not read by the service | Present in .env.example and in the Compose and stack files, but the service takes the provider URL from the database, where a migration seeds https://models.sponge-theory.dev/v1. Change the URL in the admin UI |
SPONGRAM_LLM_SLUG |
gemma-4-26b-a4b-it |
Model name recorded on a new instance and shown in its bundles. Informational: the model used at run time comes from the database |
SPONGRAM_EMBEDDER_SLUG |
jina-embeddings-v5-text-small |
Embedder name recorded on a new instance. Informational |
SPONGRAM_EMBEDDING_DIM |
1024 |
Embedding dimension recorded on a new instance. Immutable per instance: a brain export can only be imported into an instance of the same dimension |
SPONGRAM_INFERENCE_RETRY_ENABLED |
true |
Retry transient upstream errors (HTTP 429, 502, 503, 504, refused or reset connection) inside a time budget. A read timeout is never retried |
SPONGRAM_INFERENCE_RETRY_BUDGET_SEC |
120; 60 for a loopback provider |
Total retry budget per request |
SPONGRAM_REMOTE_READ_TIMEOUT_SEC |
600 |
Read timeout of a non-streaming call to a remote provider |
SPONGRAM_LOCAL_READ_TIMEOUT_SEC |
1800 |
Read timeout when the provider URL contains localhost or 127.0.0.1 |
SPONGRAM_BREAKER_FAILURE_THRESHOLD |
5 |
Consecutive upstream failures that open a circuit breaker |
SPONGRAM_BREAKER_COOLDOWN_SEC |
60 |
First cool-down of an open breaker; doubles on each failed probe |
SPONGRAM_BREAKER_MAX_COOLDOWN_SEC |
600 |
Ceiling of the cool-down |
SPONGRAM_THINKING_GRAPHITI |
off |
Reasoning level for extraction calls: off, low, medium or xhigh |
SPONGRAM_THINKING_SLEEPER |
off |
Reasoning level for Sleeper calls |
SPONGRAM_THINKING_DISTILL |
off |
Reasoning level for distillation calls |
SPONGRAM_THINKING_GRAPHITI_ENTITIES |
empty | Reasoning level for the single entity-extraction call of each memory. Empty: follows SPONGRAM_THINKING_GRAPHITI |
SPONGRAM_PROMPT_GUARD_MAX_CHARS |
64000 |
Chat prompts longer than this are trimmed before they are sent, so the provider does not reject them for exceeding its context window. 0 or less disables the guard |
Workers¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_SLEEPER_ENABLED |
0 |
Start the Sleeper (background summaries) |
SPONGRAM_SLEEPER_INTERVAL_SEC |
120 |
Seconds between Sleeper ticks, used only until the first tick. A migration seeds inference.sleeper_interval_sec (120) in the database and the Sleeper reads that value at the start of every tick, so in practice the interval is set on the Settings page of the admin UI, not here |
SPONGRAM_SLEEPER_MAX_PER_TICK |
10 |
Entities summarised per tick. Same rule: the seeded database value inference.sleeper_max_per_tick (10) applies from the first tick |
SPONGRAM_SLEEPER_CONCURRENCY |
4 |
Summaries computed in parallel |
SPONGRAM_SLEEPER_GROUNDING_MIN |
0.3 |
Minimum share of a summary's words that must appear in its sources; below it the summary is refused. 0 disables the check |
SPONGRAM_PERSONA_SUMMARY_ENABLED |
off | The Sleeper also compiles a summary per persona. Costs LLM calls |
SPONGRAM_PERSONA_SUMMARY_MAX_PER_TICK |
5 |
Persona summaries per tick |
SPONGRAM_DREAM_ENABLED |
0 |
Start the Dream (periodic consolidation) |
SPONGRAM_DREAM_INTERVAL_SEC |
21600 |
Seconds between Dream passes (6 hours) |
SPONGRAM_DREAM_DUP_NAME_SIMILARITY |
0.5 |
Minimum name similarity (trigram Jaccard, 0 to 1) for two entities to be reported as probable duplicates |
SPONGRAM_DREAM_DUP_EMBEDDING_FLOOR |
0.40 |
Minimum cosine similarity of the name vectors that confirms a candidate pair |
SPONGRAM_DREAM_BACKPROP_MIN_EDGES |
3 |
An entity that received at least this many new facts within the window has its direct neighbours marked for a new summary by the Sleeper |
SPONGRAM_DREAM_BACKPROP_WINDOW_HOURS |
24 |
That window, in hours |
SPONGRAM_DREAM_DECAY_TAU_DAYS |
30 |
Time constant of the decayed score of a fact |
SPONGRAM_DREAM_FORGETTING_ENABLED |
off | Stamp forgotten_at on facts whose decayed score fell below the floor. Nothing is deleted and search does not read the stamp |
SPONGRAM_DREAM_FORGET_FLOOR |
0.05 |
That floor |
SPONGRAM_DREAM_RESOLVE_ENABLED |
0 |
Link same-name entities across sessions |
Two former variables are ignored: SPONGRAM_DREAM_DUP_THRESHOLD, and
SPONGRAM_DREAM_FORGET_ENABLED (a warning is logged at start if it is set to a true value).
See Sleeper and Dream for what the workers do.
Search¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_HOT_CACHE_ENABLED |
off | Cache search_nodes and search_memory_facts responses in memory |
SPONGRAM_HOT_CACHE_TTL_SEC |
300 |
Lifetime of a cached response |
SPONGRAM_HOT_CACHE_MAX_SIZE |
256 |
Cached responses per process (LRU) |
SPONGRAM_PAGERANK_ENABLED |
off | Re-rank search results with Personalized PageRank over the neighbourhood of the first hits |
SPONGRAM_PAGERANK_TOP_K_SEED |
20 |
Seeds taken from the initial result |
SPONGRAM_PAGERANK_TOP_K_FINAL |
10 |
Default result count of the re-ranker. The search pipeline passes its own count and truncates to what the client requested, so this value does not bound search answers |
SPONGRAM_PAGERANK_DAMPING |
0.85 |
Damping factor |
SPONGRAM_PAGERANK_EXPAND_HOPS |
2 |
Hops of the subgraph around the seeds |
SPONGRAM_PAGERANK_RRF_K |
60 |
Constant of the reciprocal-rank fusion |
SPONGRAM_PAGERANK_SUBGRAPH_LIMIT |
1000 |
Maximum nodes of the subgraph |
SPONGRAM_PAGERANK_SUBGRAPH_TIMEOUT_MS |
1500 |
Timeout of the subgraph query; past it the original order is kept |
SPONGRAM_PAGERANK_MAX_ITER |
50 |
Iteration ceiling |
SPONGRAM_PAGERANK_TOL |
1e-6 |
Convergence tolerance |
SPONGRAM_PAGERANK_OVERSAMPLE_FACTOR |
3 |
Graphiti is asked for this many times the requested result count, so the re-ranker has material; the answer is truncated back to the requested count |
SPONGRAM_PAGERANK_SURFACE_PPR_NODES |
on | Also return nodes found by the walk that were not in the initial result |
SPONGRAM_RERANK_LEXICAL_ENABLED |
off | Final lexical re-ranking stage |
SPONGRAM_HIDE_INVALID_FACTS |
on | Drop expired and invalidated facts from search_memory_facts |
SPONGRAM_CORROBORATION_RANKING_ENABLED |
off | Promote facts confirmed by several projects |
SPONGRAM_READ_SCOPING_ENABLED |
off | Filter search results by the tags of their episodes (scope argument) |
SPONGRAM_PROJECT_ALIASES_ENABLED |
off | Per-brain project aliases applied at read time |
SPONGRAM_EPISODES_CHRONO_ENABLED |
on | get_episodes answered newest first, from the graph |
See Search and Project aliases.
Ingestion and tagging¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_EPISODE_BODY_MAX_CHARS |
10000 |
An add_memory body longer than this is split into several episodes before it is queued. A value of 0 or less falls back to the default |
SPONGRAM_CONSTITUTION_ENABLED |
off | Reject an add_memory that violates the tagging rules below, before it is queued |
SPONGRAM_CONSTITUTION_REQUIRE_PROJECT |
on | With the constitution on, require a project= tag |
SPONGRAM_CONSTITUTION_ALLOWED_CLIENTS |
empty | With the constitution on, comma-separated list of accepted client= tags. Empty accepts any |
SPONGRAM_CLIENT_TAG_ENABLED |
on | Add client=claude-code or client=codex to a memory from the X-Spongram-Client header when the memory carries no client= tag |
SPONGRAM_TOPIC_SCOPING_ENABLED |
off | Untagged memories from non-code clients go to project=desktop-inbox instead of project=global, and those clients are instructed to derive a topic slug |
SPONGRAM_DISTILL_ENABLED |
off | Enable POST /v1/memory/distill (out-of-band capture of a transcript). Off: the route answers 503 |
SPONGRAM_DISTILL_MAX_TOKENS |
1200 |
Output ceiling of a distillation call |
SPONGRAM_DISTILL_TIMEOUT |
180 |
Timeout of a distillation call, in seconds |
SPONGRAM_DISTILL_INFERENCE_URL |
derived | URL of the internal proxy used for distillation; defaults to http://localhost:<listen port>/_internal/v1/distill |
SPONGRAM_DELETE_KEEPS_CONFIRMED_FACTS |
on | Desktop edition only: deleting an episode keeps the facts that other episodes still support |
See Ingestion and Tagging and scope.
Personas, marketplace and explorers¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_PERSONAS_ENABLED |
off | Personas: tables read, persona tools injected, /v1/personas routes mounted |
SPONGRAM_MARKETPLACE_ENABLED |
off | Persona marketplace in the admin UI. Needs SPONGRAM_PERSONAS_ENABLED; never mounted in the desktop edition |
SPONGRAM_MARKETPLACE_DIRS |
empty | Organisation catalogue directories, separated by :. The source name is the last path segment |
SPONGRAM_CORTEX_ACTIVITY_ENABLED |
off | Publish search activity to the Cortex explorer stream (event: activity) |
See Personas, Persona marketplace and Cortex and Wiki.
Observability¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_LANGFUSE_ENABLED |
on when unset; the stack file sets false |
Kill switch of LLM tracing |
LANGFUSE_BASE_URL |
empty | Origin of the Langfuse server, without /api. No implicit destination: keys without a URL trace nothing |
LANGFUSE_HOST |
empty | Older alias, used only when LANGFUSE_BASE_URL is empty |
LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY |
empty | Project keys |
LANGFUSE_TRACING_ENVIRONMENT |
production |
Environment label on traces |
Tracing is active only when the URL and both keys are set, the switch is not false, and the
edition is cloud. See Observability.
Cloud control plane¶
These apply to a server with SPONGRAM_CLOUD_CONTROL_ENABLED=true.
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_CLOUD_CONTROL_ENABLED |
false |
Mount the console routes (/console/api/*), organisations, user accounts, access rights and licence checks. Once brains are managed, the service refuses to start with this turned off again |
SPONGRAM_CLOUD_CUSTOMER_INSTALLATION |
false |
Customer-hosted profile: no default inference provider (inference answers 503 until configured in the console), and the service refuses to start if its database role is a superuser, has BYPASSRLS or owns tables |
SPONGRAM_CLOUD_COOKIE_SECURE |
true |
Secure attribute of the session cookies. Keep true behind TLS |
SPONGRAM_CLOUD_SESSION_HOURS |
8 |
Console session lifetime, 1 to 24 hours |
SPONGRAM_CLOUD_LICENSE_PUBLIC_KEYS |
{} |
JSON object mapping a key identifier to a PEM public key, used to verify the signed licence offline |
SPONGRAM_CLOUD_LICENSE_ISSUER |
sponge-theory |
Expected issuer of the licence |
SPONGRAM_CLOUD_OIDC_ISSUER, SPONGRAM_CLOUD_OIDC_CLIENT_ID, SPONGRAM_CLOUD_OIDC_CLIENT_SECRET |
empty | Optional OpenID Connect sign-in. The standard sign-in uses an identifier and a password |
SPONGRAM_CLOUD_OIDC_ALLOW_LOCAL_HTTP |
false |
Accept a plain-HTTP issuer on a local address, for tests |
SPONGRAM_AWS_DB_AUTH |
secret |
With an aws-secretsmanager:// database reference: secret uses the password of the secret, iam an RDS IAM token |
SPONGRAM_AWS_RDS_CA_BUNDLE |
unset | CA bundle file used to verify the database certificate with such a reference |
FORWARDED_ALLOW_IPS |
127.0.0.1 |
Read by the HTTP server: addresses or CIDRs of the reverse proxy whose X-Forwarded-For is trusted, so the login rate limit sees the real client. Never * while the port is reachable without the proxy |
The Cloud overlays read two substitution variables of their own:
SPONGRAM_RUNTIME_DATABASE_URL (becomes SPONGRAM_DATABASE_URL) and
SPONGRAM_FORWARDED_ALLOW_IPS (becomes FORWARDED_ALLOW_IPS).
Paths¶
Each directory is optional: when it does not exist, the corresponding routes are not mounted.
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_TEMPLATES_DIR |
/app/integrations/spongram/templates |
Templates of the generated client bundles |
SPONGRAM_ADMIN_DIST_DIR |
/app/admin_dist |
Built admin UI, served under /admin/ |
SPONGRAM_DOCS_DIST_DIR |
/app/docs_dist |
This documentation site, served under /documentation/ |
SPONGRAM_LANDING_DIST_DIR |
/app/landing_dist |
Static site served at / |
SPONGRAM_LANDING_MEDIA_DIR |
/app/landing_media |
Media files served under /media |
SPONGRAM_DOWNLOADS_DIR |
/data/downloads |
Static files served without authentication under /downloads |
Desktop edition¶
| Variable | Default | Meaning |
|---|---|---|
SPONGRAM_DATA_DIR |
empty | Per-user state directory (SQLite database and embedded graph file) |
SPONGRAM_FALKOR_DB_PATH |
<data dir>/graph.rdb |
Location of the embedded graph file |
SPONGRAM_LOCAL_SLEEPER_INTERVAL_SEC |
300 |
Sleeper interval |
SPONGRAM_LOCAL_SLEEPER_MAX_PER_TICK |
5 |
Entities summarised per tick |
SPONGRAM_LOCAL_DREAM_INTERVAL_SEC |
600 |
Dream interval |
In the desktop edition SPONGRAM_PAGERANK_ENABLED defaults to on.
Defaults that differ by layer¶
An empty cell means the layer does not set the variable, so the layer to its left applies.
| Variable | Code | Server image | Compose file fallback | Stack file fallback |
|---|---|---|---|---|
SPONGRAM_SLEEPER_ENABLED |
0 |
1 |
1 |
1 |
SPONGRAM_DREAM_ENABLED |
0 |
1 |
1 |
|
SPONGRAM_TOPIC_SCOPING_ENABLED |
off | true |
||
SPONGRAM_DISTILL_ENABLED |
off | true |
||
SPONGRAM_PERSONAS_ENABLED |
off | true |
||
SPONGRAM_READ_SCOPING_ENABLED |
off | true |
||
SPONGRAM_PERSONA_SUMMARY_ENABLED |
off | true |
||
SPONGRAM_MARKETPLACE_ENABLED |
off | true |
||
SPONGRAM_CORTEX_ACTIVITY_ENABLED |
off | true |
||
SPONGRAM_PROJECT_ALIASES_ENABLED |
off | true |
||
SPONGRAM_CORROBORATION_RANKING_ENABLED |
off | true |
||
SPONGRAM_NEO4J_MAX_CONN_LIFETIME_SEC |
3600 |
600 |
||
SPONGRAM_HOT_CACHE_ENABLED |
off | false |
true |
|
SPONGRAM_PAGERANK_ENABLED |
off | false |
true |
|
SPONGRAM_RERANK_LEXICAL_ENABLED |
off | true |
||
SPONGRAM_DREAM_RESOLVE_ENABLED |
off | true |
||
SPONGRAM_CONSTITUTION_ENABLED |
off | true |
||
SPONGRAM_LANGFUSE_ENABLED |
on when unset | false |
||
SPONGRAM_PUBLIC_URL |
http://localhost:8091 |
http://localhost:8091 |
the vendor's hostname: set your own | |
SPONGRAM_MARKETPLACE_DIRS |
empty | a vendor catalogue path: set your own or leave it empty |
A stack deployed from docker/docker-stack.yml with no variable set therefore runs with the hot
cache, PageRank re-ranking, lexical re-ranking, entity resolution and the tagging constitution
on, while a Compose deployment with no variable set runs with them off.
The stack file also gives SPONGRAM_SLEEPER_INTERVAL_SEC a fallback of 300 where the image
and the Compose file say 120. It has no lasting effect: the database value described under
Workers takes over at the first tick.