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.

Fix/docker env namings (#5857)

Chenhe Gud468f8b75c9a
diff --git a/docker/.env.example b/docker/.env.example
index f6d5861d785..008d5cd4cc2 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -75,8 +75,8 @@ INIT_PASSWORD=
DEPLOY_ENV=PRODUCTION
# Whether to enable the version check policy.
-# If set to false, https://updates.dify.ai will not be called for version check.
-CHECK_UPDATE_URL=true
+# If set to empty, https://updates.dify.ai will not be called for version check.
+CHECK_UPDATE_URL=https://updates.dify.ai
# Used to change the OpenAI base address, default is https://api.openai.com/v1.
# When OpenAI cannot be accessed in China, replace it with a domestic mirror address,
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 1d38e140648..788206d22f5 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -8,8 +8,8 @@ x-shared-env: &shared-api-worker-env
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
SERVICE_API_URL: ${SERVICE_API_URL:-}
APP_WEB_URL: ${APP_WEB_URL:-}
- CHECK_UPDATE_URL: ${CHECK_UPDATE_URL:-true}
- OPENAI_API_BASE: ${OPENAI_API_BASE:-}
+ CHECK_UPDATE_URL: ${CHECK_UPDATE_URL:-https://updates.dify.ai}
+ OPENAI_API_BASE: ${OPENAI_API_BASE:-https://api.openai.com/v1}
FILES_URL: ${FILES_URL:-}
FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300}
MIGRATION_ENABLED: ${MIGRATION_ENABLED:-true}
@@ -308,8 +308,8 @@ services:
- api
- web
ports:
- - "${NGINX_PORT:-80}:${EXPOSE_NGINX_PORT:-80}"
- - "${NGINX_SSL_PORT:-443}:${EXPOSE_NGINX_SSL_PORT:-443}"
+ - "${EXPOSE_NGINX_PORT:-80}:${NGINX_PORT:-80}"
+ - "${EXPOSE_NGINX_SSL_PORT:-443}:${NGINX_SSL_PORT:-443}"
# The Weaviate vector store.
weaviate: