Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: add placeholder for Amplitude API key in .env.example (#29489)

Coding On Starf20a2d158689
diff --git a/docker/.env.example b/docker/.env.example
index 85e8b1dc7f7..04088b72a8f 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -1432,3 +1432,6 @@ WORKFLOW_SCHEDULE_MAX_DISPATCH_PER_TICK=0
# Tenant isolated task queue configuration
TENANT_ISOLATED_TASK_CONCURRENCY=1
+
+# The API key of amplitude
+AMPLITUDE_API_KEY=
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 160dbbec464..68f57267972 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -635,6 +635,7 @@ x-shared-env: &shared-api-worker-env
WORKFLOW_SCHEDULE_POLLER_BATCH_SIZE: ${WORKFLOW_SCHEDULE_POLLER_BATCH_SIZE:-100}
WORKFLOW_SCHEDULE_MAX_DISPATCH_PER_TICK: ${WORKFLOW_SCHEDULE_MAX_DISPATCH_PER_TICK:-0}
TENANT_ISOLATED_TASK_CONCURRENCY: ${TENANT_ISOLATED_TASK_CONCURRENCY:-1}
+ AMPLITUDE_API_KEY: ${AMPLITUDE_API_KEY:-}
services:
# Init container to fix permissions
diff --git a/web/.env.example b/web/.env.example
index 34ea7de5224..b488c31057e 100644
--- a/web/.env.example
+++ b/web/.env.example
@@ -71,5 +71,5 @@ NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEX=false
# The maximum number of tree node depth for workflow
NEXT_PUBLIC_MAX_TREE_DEPTH=50
-# The api key of amplitude
+# The API key of amplitude
NEXT_PUBLIC_AMPLITUDE_API_KEY=