发布 Dify

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2025-02-17 18:50:43 +08:00
parent fa2610ddb3
commit 6b7d17f53d
2 changed files with 9 additions and 9 deletions

View File

@ -381,8 +381,8 @@ x-shared-env: &shared-api-worker-env
SSRF_DEFAULT_CONNECT_TIME_OUT: ${SSRF_DEFAULT_CONNECT_TIME_OUT:-5} SSRF_DEFAULT_CONNECT_TIME_OUT: ${SSRF_DEFAULT_CONNECT_TIME_OUT:-5}
SSRF_DEFAULT_READ_TIME_OUT: ${SSRF_DEFAULT_READ_TIME_OUT:-5} SSRF_DEFAULT_READ_TIME_OUT: ${SSRF_DEFAULT_READ_TIME_OUT:-5}
SSRF_DEFAULT_WRITE_TIME_OUT: ${SSRF_DEFAULT_WRITE_TIME_OUT:-5} SSRF_DEFAULT_WRITE_TIME_OUT: ${SSRF_DEFAULT_WRITE_TIME_OUT:-5}
EXPOSE_NGINX_PORT: ${PANEL_APP_PORT_HTTP:-8080} PANEL_APP_PORT_HTTP: ${PANEL_APP_PORT_HTTP:-8080}
EXPOSE_NGINX_SSL_PORT: ${PANEL_APP_PORT_HTTPS:-8443} PANEL_APP_PORT_HTTPS: ${PANEL_APP_PORT_HTTPS:-8443}
POSITION_TOOL_PINS: ${POSITION_TOOL_PINS:-} POSITION_TOOL_PINS: ${POSITION_TOOL_PINS:-}
POSITION_TOOL_INCLUDES: ${POSITION_TOOL_INCLUDES:-} POSITION_TOOL_INCLUDES: ${POSITION_TOOL_INCLUDES:-}
POSITION_TOOL_EXCLUDES: ${POSITION_TOOL_EXCLUDES:-} POSITION_TOOL_EXCLUDES: ${POSITION_TOOL_EXCLUDES:-}
@ -608,8 +608,8 @@ services:
- api - api
- web - web
ports: ports:
- '${EXPOSE_NGINX_PORT:-80}:${NGINX_PORT:-80}' - ${PANEL_APP_PORT_HTTP:-8080}:${NGINX_PORT:-80}
- '${EXPOSE_NGINX_SSL_PORT:-443}:${NGINX_SSL_PORT:-443}' - ${PANEL_APP_PORT_HTTPS:-8443}:${NGINX_SSL_PORT:-443}
weaviate: weaviate:
image: semitechnologies/weaviate:1.19.0 image: semitechnologies/weaviate:1.19.0

View File

@ -75,7 +75,7 @@ SECRET_KEY=sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U
# Password for admin user initialization. # Password for admin user initialization.
# If left unset, admin user will not be prompted for a password # If left unset, admin user will not be prompted for a password
# when creating the initial admin account. # when creating the initial admin account.
# The length of the password cannot exceed 30 charactors. # The length of the password cannot exceed 30 charactors.
INIT_PASSWORD= INIT_PASSWORD=
@ -582,13 +582,13 @@ SCARF_NO_ANALYTICS=true
# ------------------------------ # ------------------------------
# The maximum number of tokens allowed for prompt generation. # The maximum number of tokens allowed for prompt generation.
# This setting controls the upper limit of tokens that can be used by the LLM # This setting controls the upper limit of tokens that can be used by the LLM
# when generating a prompt in the prompt generation tool. # when generating a prompt in the prompt generation tool.
# Default: 512 tokens. # Default: 512 tokens.
PROMPT_GENERATION_MAX_TOKENS=512 PROMPT_GENERATION_MAX_TOKENS=512
# The maximum number of tokens allowed for code generation. # The maximum number of tokens allowed for code generation.
# This setting controls the upper limit of tokens that can be used by the LLM # This setting controls the upper limit of tokens that can be used by the LLM
# when generating code in the code generation tool. # when generating code in the code generation tool.
# Default: 1024 tokens. # Default: 1024 tokens.
CODE_GENERATION_MAX_TOKENS=1024 CODE_GENERATION_MAX_TOKENS=1024
@ -903,8 +903,8 @@ COMPOSE_PROFILES=${VECTOR_STORE:-weaviate}
# ------------------------------ # ------------------------------
# Docker Compose Service Expose Host Port Configurations # Docker Compose Service Expose Host Port Configurations
# ------------------------------ # ------------------------------
EXPOSE_NGINX_PORT=80 PANEL_APP_PORT_HTTP=80
EXPOSE_NGINX_SSL_PORT=443 PANEL_APP_PORT_HTTPS=443
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# ModelProvider & Tool Position Configuration # ModelProvider & Tool Position Configuration