dify-aio

dify-aio

Docker 应用程序 from JSONbored's Repository

概述

Dify is a self-hosted AI application platform for agentic workflows, RAG pipelines, tools, model-provider integrations, and observability.

All-In-One Unraid Edition
dify-aio packages the Dify API, workers, web UI, plugin daemon, code sandbox, SSRF proxy, Nginx, PostgreSQL with pgvector, and Redis into one practical Unraid-first container.

Quick Install (Beginners)

  1. Install this template and leave [code]Web UI Port[/code] and [code]AppData[/code] at their defaults unless you already have a port conflict.
  2. Start the container and give first boot a few minutes. The wrapper initializes bundled PostgreSQL, pgvector, Redis, generated secrets, local storage, the sandbox, plugin daemon, and the Dify services.
  3. Open the Web UI and create the first admin account. You can optionally set [code]Initial Admin Password[/code] before first boot, but it is not required.
  4. Add model-provider credentials inside Dify first. For a reverse proxy or published apps, set [code]Public URL[/code] to your external HTTPS URL and restart.
  5. Keep Advanced View defaults for the easiest install. The bundled database, cache, vector store, local file storage, sandbox, and SSRF proxy are already wired together.

Power Users (Advanced View)

  • Advanced View exposes external PostgreSQL-compatible databases, Redis, object storage, vector databases, SMTP/mail, plugin storage, observability, CORS/CSP, sandbox, proxy, token expiry, indexing, cleanup, and broader upstream Dify environment controls.
  • If you switch a backend selector such as [code]VECTOR_STORE[/code], [code]STORAGE_TYPE[/code], [code]DB_TYPE[/code], or internal service toggles, configure the matching companion fields for that backend.
  • Blank secret fields generate and persist values in [code]/appdata/config/generated.env[/code]. Explicit Unraid template values override generated secrets, and [code]/appdata/config/extra.env[/code] remains the final advanced override escape hatch.
  • [code]CHECK_UPDATE_URL[/code] is blank by default to avoid outbound update checks unless you intentionally opt in.

Important Notes

  • Dify is a heavier multi-service stack. Plan for at least 2 CPU cores and 4 GiB RAM, with more memory for real indexing, workflow, or model-heavy workloads.
  • Public exposure should sit behind a trusted reverse proxy with TLS. Review sandbox/network settings before allowing untrusted users to run code or tools.
  • External vector stores, object storage, SMTP, and model providers are optional but real production deployments may need them.

要求

Dify is a heavier multi-service application. Plan for at least 2 CPU cores and 4 GiB RAM, with more memory for real workloads. Public exposure should be placed behind a trusted reverse proxy with TLS. Model-provider API keys, SMTP, object storage, and external vector stores are optional but may be required for production use.

运行时参数

网络用户界面
http://[IP]:[PORT:8080]
网络
bridge
外壳
sh
特权
false

模板配置

Web UI PortPorttcp

Dify Web UI and API gateway port.

目标
8080
默认值
8080
价值
8080
AppDataPathrw

Persistent Dify data, generated secrets, PostgreSQL data, Redis data, uploads, plugin storage, and sandbox configuration.

目标
/appdata
默认值
/mnt/user/appdata/dify-aio
价值
/mnt/user/appdata/dify-aio
Public URLVariable

Optional external base URL such as https://dify.example.com. Used to default Dify console, app, trigger, WebSocket, and file URLs.

目标
DIFY_AIO_PUBLIC_URL
Initial Admin PasswordVariable

Optional initial admin password. Dify limits this value to 30 characters. Leave blank to set the admin account during first-run setup.

目标
INIT_PASSWORD
TimezoneVariable

Container timezone.

目标
TZ
默认值
UTC
价值
UTC
Deploy EnvironmentVariable

Dify deployment environment mode. Keep PRODUCTION for normal Unraid installs.

目标
DEPLOY_ENV
默认值
PRODUCTION|TESTING
价值
PRODUCTION
Dify Update Check URLVariable

Optional Dify update-check endpoint. Leave blank to disable outbound update checks for privacy-focused or offline installs.

目标
CHECK_UPDATE_URL
Secret KeyVariable

Dify application secret key. Leave blank to generate and persist one on first boot. Changing this after setup invalidates encrypted credentials and sessions.

目标
SECRET_KEY
Use Internal PostgreSQLVariable

Use the bundled PostgreSQL 15 database with pgvector. Set false only when using an external PostgreSQL-compatible database.

目标
DIFY_USE_INTERNAL_POSTGRES
默认值
true|false
价值
true
Database TypeVariable

Database type used by Dify. The bundled AIO database is PostgreSQL; non-PostgreSQL modes require external infrastructure.

目标
DB_TYPE
默认值
postgresql|mysql|oceanbase|seekdb
价值
postgresql
Database HostVariable

PostgreSQL host. Keep 127.0.0.1 for bundled PostgreSQL.

目标
DB_HOST
默认值
127.0.0.1
价值
127.0.0.1
Database PortVariable

PostgreSQL port.

目标
DB_PORT
默认值
5432
价值
5432
Database UserVariable

PostgreSQL user for Dify.

目标
DB_USERNAME
默认值
dify
价值
dify
Database PasswordVariable

PostgreSQL password. Leave blank to generate and persist one on first boot.

目标
DB_PASSWORD
Database NameVariable

PostgreSQL database used by the Dify API.

目标
DB_DATABASE
默认值
dify
价值
dify
Plugin Database NameVariable

PostgreSQL database used by the Dify plugin daemon.

目标
DB_PLUGIN_DATABASE
默认值
dify_plugin
价值
dify_plugin
Use Internal RedisVariable

Use the bundled Redis instance. Set false only when using an external Redis service.

目标
DIFY_USE_INTERNAL_REDIS
默认值
true|false
价值
true
Redis HostVariable

Redis host. Keep 127.0.0.1 for bundled Redis.

目标
REDIS_HOST
默认值
127.0.0.1
价值
127.0.0.1
Redis PortVariable

Redis port.

目标
REDIS_PORT
默认值
6379
价值
6379
Redis PasswordVariable

Redis password. Leave blank to generate and persist one on first boot.

目标
REDIS_PASSWORD
Celery Broker URLVariable

Optional explicit Celery broker URL. Leave blank to derive it from Redis settings.

目标
CELERY_BROKER_URL
Console API URLVariable

Optional public console API URL. Leave blank to derive from Public URL or incoming requests.

目标
CONSOLE_API_URL
Console Web URLVariable

Optional public console web URL. Leave blank to derive from Public URL or incoming requests.

目标
CONSOLE_WEB_URL
Service API URLVariable

Optional public Service API URL shown inside Dify. Leave blank to derive from Public URL or incoming requests.

目标
SERVICE_API_URL
Trigger URLVariable

Optional public trigger URL. Leave blank to derive from Public URL or use Dify defaults.

目标
TRIGGER_URL
App API URLVariable

Optional published-app API URL. Leave blank to derive from Public URL or incoming requests.

目标
APP_API_URL
App Web URLVariable

Optional published-app web URL. Leave blank to derive from Public URL or incoming requests.

目标
APP_WEB_URL
Files URLVariable

Optional public file preview/download URL. Leave blank to derive from Public URL.

目标
FILES_URL
Internal Files URLVariable

Internal file URL used by Dify services. Leave blank for the AIO localhost default.

目标
INTERNAL_FILES_URL
Next Public Socket URLVariable

Optional WebSocket URL for collaboration mode. Leave blank to derive from Public URL when provided.

目标
NEXT_PUBLIC_SOCKET_URL
Log FileVariable

Optional Dify log file path. Leave blank for /appdata/logs/server.log.

目标
LOG_FILE
Log TimezoneVariable

Optional Dify log timezone. Leave blank to inherit TZ.

目标
LOG_TZ
API Bind AddressVariable

Internal Dify API bind address. Keep localhost so only the bundled Nginx gateway is exposed.

目标
DIFY_BIND_ADDRESS
默认值
127.0.0.1
价值
127.0.0.1
Server WorkersVariable

Dify API worker count. Increase only if the host has enough CPU and memory.

目标
SERVER_WORKER_AMOUNT
默认值
1
价值
1
Server Worker ClassVariable

Gunicorn worker class. The AIO default supports collaboration WebSockets.

目标
SERVER_WORKER_CLASS
默认值
geventwebsocket.gunicorn.workers.GeventWebSocketWorker
价值
geventwebsocket.gunicorn.workers.GeventWebSocketWorker
Celery WorkersVariable

Dify background worker count. Increase for indexing-heavy workloads on larger hosts.

目标
CELERY_WORKER_AMOUNT
默认值
2
价值
2
Celery Worker ClassVariable

Celery worker class. Keep gevent unless debugging an upstream-specific issue.

目标
CELERY_WORKER_CLASS
默认值
gevent
价值
gevent
Gunicorn TimeoutVariable

API request timeout in seconds.

目标
GUNICORN_TIMEOUT
默认值
360
价值
360
Vector StoreVariable

Dify vector database backend. The default uses bundled PostgreSQL with pgvector. Non-pgvector choices require external services and matching variables.

目标
VECTOR_STORE
默认值
pgvector|weaviate|qdrant|milvus|myscale|relyt|pgvecto-rs|chroma|opensearch|oracle|tencent|elasticsearch|elasticsearch-ja|analyticdb|couchbase|vikingdb|opengauss|tablestore|vastbase|tidb|tidb_on_qdrant|baidu|lindorm|huawei_cloud|upstash|matrixone|clickzetta|alibabacloud_mysql|iris|hologres
价值
pgvector
PGVector HostVariable

Optional pgvector host override. Leave blank to reuse the Dify database host.

目标
PGVECTOR_HOST
PGVector PortVariable

Optional pgvector port override. Leave blank to reuse the Dify database port.

目标
PGVECTOR_PORT
PGVector UserVariable

Optional pgvector user override. Leave blank to reuse the Dify database user.

目标
PGVECTOR_USER
PGVector PasswordVariable

Optional pgvector password override. Leave blank to reuse the Dify database password.

目标
PGVECTOR_PASSWORD
PGVector DatabaseVariable

Optional pgvector database override. Leave blank to reuse the Dify database name.

目标
PGVECTOR_DATABASE
Qdrant URLVariable

External Qdrant URL when Vector Store is qdrant.

目标
QDRANT_URL
Qdrant API KeyVariable

External Qdrant API key when required.

目标
QDRANT_API_KEY
Weaviate EndpointVariable

External Weaviate HTTP endpoint when Vector Store is weaviate.

目标
WEAVIATE_ENDPOINT
Weaviate API KeyVariable

External Weaviate API key when required.

目标
WEAVIATE_API_KEY
Weaviate GRPC EndpointVariable

External Weaviate gRPC endpoint when required.

目标
WEAVIATE_GRPC_ENDPOINT
Storage TypeVariable

Dify file storage backend. The default uses local OpenDAL filesystem storage under AppData.

目标
STORAGE_TYPE
默认值
opendal|s3|azure-blob|google-storage|aliyun-oss|tencent-cos|huawei-obs|oci-storage|volcengine-tos|baidu-obs|supabase|clickzetta-volume
价值
opendal
OpenDAL SchemeVariable

OpenDAL storage scheme. The AIO default uses local filesystem storage.

目标
OPENDAL_SCHEME
默认值
fs
价值
fs
OpenDAL Filesystem RootVariable

OpenDAL filesystem root. Leave blank for /app/api/storage, symlinked to AppData.

目标
OPENDAL_FS_ROOT
S3 EndpointVariable

S3-compatible storage endpoint when using S3 storage.

目标
S3_ENDPOINT
S3 RegionVariable

S3 region.

目标
S3_REGION
默认值
us-east-1
价值
us-east-1
S3 Bucket NameVariable

S3 bucket for Dify files.

目标
S3_BUCKET_NAME
S3 Access KeyVariable

S3 access key.

目标
S3_ACCESS_KEY
S3 Secret KeyVariable

S3 secret key.

目标
S3_SECRET_KEY
Enable SandboxVariable

Run the bundled Dify sandbox used for code execution. Disabling it breaks code-execution features.

目标
DIFY_ENABLE_SANDBOX
默认值
true|false
价值
true
Sandbox API KeyVariable

Sandbox API key. Leave blank to generate and persist one on first boot.

目标
SANDBOX_API_KEY
Code Execution EndpointVariable

Dify sandbox endpoint. Leave blank for the AIO localhost sandbox.

目标
CODE_EXECUTION_ENDPOINT
Code Execution API KeyVariable

Dify sandbox API key used by the API service. Leave blank to mirror Sandbox API Key.

目标
CODE_EXECUTION_API_KEY
Sandbox Network AccessVariable

Allow sandboxed code to access the network through the bundled SSRF proxy.

目标
SANDBOX_ENABLE_NETWORK
默认值
true|false
价值
true
Sandbox Worker TimeoutVariable

Sandbox execution timeout in seconds.

目标
SANDBOX_WORKER_TIMEOUT
默认值
15
价值
15
Sandbox PortVariable

Sandbox service port. Leave blank for 8194.

目标
SANDBOX_PORT
Sandbox HTTP ProxyVariable

HTTP proxy used by sandboxed code. Leave blank for the bundled SSRF proxy.

目标
SANDBOX_HTTP_PROXY
Sandbox HTTPS ProxyVariable

HTTPS proxy used by sandboxed code. Leave blank for the bundled SSRF proxy.

目标
SANDBOX_HTTPS_PROXY
SSRF HTTP Proxy URLVariable

Internal HTTP proxy URL used by Dify. Leave blank for the bundled SSRF proxy.

目标
SSRF_PROXY_HTTP_URL
SSRF HTTPS Proxy URLVariable

Internal HTTPS proxy URL used by Dify. Leave blank for the bundled SSRF proxy.

目标
SSRF_PROXY_HTTPS_URL
SSRF Reverse Proxy PortVariable

Internal reverse proxy port. Leave blank for the AIO non-conflicting default.

目标
SSRF_REVERSE_PROXY_PORT
SSRF Sandbox HostVariable

Sandbox host name used by the SSRF proxy. Leave blank for localhost.

目标
SSRF_SANDBOX_HOST
Plugin Daemon KeyVariable

Plugin daemon server key. Leave blank to generate and persist one on first boot.

目标
PLUGIN_DAEMON_KEY
Plugin Inner API KeyVariable

Shared inner API key used between Dify and the plugin daemon. Leave blank to generate and persist one on first boot.

目标
PLUGIN_DIFY_INNER_API_KEY
Plugin Daemon URLVariable

Plugin daemon URL used by Dify. Leave blank for the AIO localhost plugin daemon.

目标
PLUGIN_DAEMON_URL
Plugin Inner API URLVariable

Inner API URL used by the plugin daemon. Leave blank for the AIO localhost API.

目标
PLUGIN_DIFY_INNER_API_URL
Verify Plugin SignaturesVariable

Require signed plugins where Dify supports signature verification.

目标
FORCE_VERIFYING_SIGNATURE
默认值
true|false
价值
true
Marketplace EnabledVariable

Enable the Dify plugin marketplace integration.

目标
MARKETPLACE_ENABLED
默认值
true|false
价值
true
Mail TypeVariable

Mail provider used by Dify.

目标
MAIL_TYPE
默认值
resend|smtp|sendgrid
价值
resend
Resend API KeyVariable

Resend API key when Mail Type is resend.

目标
RESEND_API_KEY
SendGrid API KeyVariable

SendGrid API key when Mail Type is sendgrid.

目标
SENDGRID_API_KEY
SMTP ServerVariable

SMTP host when Mail Type is smtp.

目标
SMTP_SERVER
SMTP PortVariable

SMTP port.

目标
SMTP_PORT
默认值
465
价值
465
SMTP UsernameVariable

SMTP username.

目标
SMTP_USERNAME
SMTP PasswordVariable

SMTP password.

目标
SMTP_PASSWORD
Mail FromVariable

Default sender address for Dify email.

目标
MAIL_DEFAULT_SEND_FROM
Nginx PortVariable

Internal Nginx listen port. Keep this aligned with the Web UI Port mapping.

目标
NGINX_PORT
默认值
8080
价值
8080
Nginx Server NameVariable

Nginx server_name value.

目标
NGINX_SERVER_NAME
默认值
_
价值
_
Nginx Client Max Body SizeVariable

Maximum request body size accepted by the bundled Nginx gateway.

目标
NGINX_CLIENT_MAX_BODY_SIZE
默认值
100M
价值
100M
Nginx Proxy Read TimeoutVariable

Bundled Nginx proxy read timeout.

目标
NGINX_PROXY_READ_TIMEOUT
默认值
3600s
价值
3600s
Nginx Proxy Send TimeoutVariable

Bundled Nginx proxy send timeout.

目标
NGINX_PROXY_SEND_TIMEOUT
默认值
3600s
价值
3600s
Website FirecrawlVariable

Expose Firecrawl as a Dify website datasource option. Configure Firecrawl credentials inside Dify where required.

目标
ENABLE_WEBSITE_FIRECRAWL
默认值
true|false
价值
true
Website Jina ReaderVariable

Expose Jina Reader as a Dify website datasource option.

目标
ENABLE_WEBSITE_JINAREADER
默认值
true|false
价值
true
Website WaterCrawlVariable

Expose WaterCrawl as a Dify website datasource option.

目标
ENABLE_WEBSITE_WATERCRAWL
默认值
true|false
价值
true
Workflow Execution StorageVariable

Storage backend for workflow node execution records. Keep rdbms for the default AIO database path.

目标
WORKFLOW_NODE_EXECUTION_STORAGE
默认值
rdbms|hybrid
价值
rdbms
AIO Wait Timeout SecondsVariable

Startup wait timeout for internal service readiness checks.

目标
DIFY_AIO_WAIT_TIMEOUT_SECONDS
默认值
300
价值
300
AIO Extra Env FileVariable

Optional dotenv-style file for rare upstream Dify variables that are intentionally not shown in the Unraid template.

目标
DIFY_AIO_EXTRA_ENV_FILE
默认值
/appdata/config/extra.env
价值
/appdata/config/extra.env
AIO LANG OverrideVariable

Optional locale override for LANG. Leave blank for C.UTF-8.

目标
DIFY_AIO_LANG
AIO LC_ALL OverrideVariable

Optional locale override for LC_ALL. Leave blank for C.UTF-8.

目标
DIFY_AIO_LC_ALL
Dify Web PortVariable

Internal Dify web service port. Keep aligned with the bundled Nginx proxy.

目标
DIFY_WEB_PORT
默认值
3000
价值
3000
Dify Web HostVariable

Internal Dify web service bind host. Keep localhost so only the bundled Nginx gateway is exposed.

目标
DIFY_WEB_HOST
默认值
127.0.0.1
价值
127.0.0.1
Plugin PlatformVariable

Plugin daemon platform mode. The AIO default is local.

目标
PLUGIN_PLATFORM
默认值
local
价值
local
Plugin Remote Installing HostVariable

Plugin remote-install/debug host used by the plugin daemon. Keep localhost unless you intentionally expose plugin debugging.

目标
PLUGIN_DEBUGGING_HOST
默认值
127.0.0.1
价值
127.0.0.1
Plugin Remote Installing PortVariable

Plugin remote-install/debug port used by the plugin daemon.

目标
PLUGIN_DEBUGGING_PORT
默认值
5003
价值
5003
Plugin Max Package SizeVariable

Maximum plugin package size accepted by the plugin daemon, in bytes.

目标
PLUGIN_MAX_PACKAGE_SIZE
默认值
52428800
价值
52428800
Plugin Daemon PortVariable

Internal plugin daemon port. Keep aligned with the bundled Nginx /e/ route.

目标
PLUGIN_DAEMON_PORT
默认值
5002
价值
5002
Plugin DB SSL ModeVariable

Plugin daemon database SSL mode.

目标
DB_SSL_MODE
默认值
disable
价值
disable
Sandbox Pip Mirror URLVariable

Optional Python package mirror URL used by the Dify sandbox.

目标
PIP_MIRROR_URL
Disable Next TelemetryVariable

Disable telemetry from the bundled Next.js web runtime.

目标
NEXT_TELEMETRY_DISABLED
默认值
1
价值
1
Dify Env: LOG_LEVELVariable

The log level for the application. Supported values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`

目标
LOG_LEVEL
默认值
DEBUG|INFO|WARNING|ERROR|CRITICAL
价值
INFO
Dify Env: LOG_OUTPUT_FORMATVariable

Log output format: text or json

目标
LOG_OUTPUT_FORMAT
默认值
text|json
价值
text
Dify Env: LOG_FILE_MAX_SIZEVariable

Log file max size, the unit is MB

目标
LOG_FILE_MAX_SIZE
默认值
20
价值
20
Dify Env: LOG_FILE_BACKUP_COUNTVariable

Log file max backup count

目标
LOG_FILE_BACKUP_COUNT
默认值
5
价值
5
Dify Env: LOG_DATEFORMATVariable

Log dateformat

目标
LOG_DATEFORMAT
默认值
%Y-%m-%d %H:%M:%S
价值
%Y-%m-%d %H:%M:%S
Dify Env: DEBUGVariable

Debug mode, default is false. It is recommended to turn on this configuration for local development to prevent some problems caused by monkey patch.

目标
DEBUG
默认值
false|true
价值
false
Dify Env: FLASK_DEBUGVariable

Flask debug mode, it can output trace information at the interface when turned on, which is convenient for debugging.

目标
FLASK_DEBUG
默认值
false|true
价值
false
Dify Env: ENABLE_REQUEST_LOGGINGVariable

Enable request logging, which will log the request and response information. And the log level is DEBUG

目标
ENABLE_REQUEST_LOGGING
默认值
False|True
价值
False
Dify Env: OPENAI_API_BASEVariable

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, or when a local model provides OpenAI compatible API, it can be replaced.

目标
OPENAI_API_BASE
默认值
https://api.openai.com/v1
价值
https://api.openai.com/v1
Dify Env: MIGRATION_ENABLEDVariable

When enabled, migrations will be executed prior to application startup and the application will start after the migrations have completed.

目标
MIGRATION_ENABLED
默认值
true|false
价值
true
Dify Env: FILES_ACCESS_TIMEOUTVariable

File Access Time specifies a time interval in seconds for the file to be accessed. The default value is 300 seconds.

目标
FILES_ACCESS_TIMEOUT
默认值
300
价值
300
Dify Env: ENABLE_COLLABORATION_MODEVariable

Collaboration mode toggle To open collaboration features, you also need to set SERVER_WORKER_CLASS=geventwebsocket.gunicorn.workers.GeventWebSocketWorker

目标
ENABLE_COLLABORATION_MODE
默认值
false|true
价值
false
Dify Env: ACCESS_TOKEN_EXPIRE_MINUTESVariable

Access token expiration time in minutes

目标
ACCESS_TOKEN_EXPIRE_MINUTES
默认值
60
价值
60
Dify Env: REFRESH_TOKEN_EXPIRE_DAYSVariable

Refresh token expiration time in days

目标
REFRESH_TOKEN_EXPIRE_DAYS
默认值
30
价值
30
Dify Env: APP_DEFAULT_ACTIVE_REQUESTSVariable

The default number of active requests for the application, where 0 means unlimited, should be a non-negative integer.

目标
APP_DEFAULT_ACTIVE_REQUESTS
默认值
0
价值
0
Dify Env: APP_MAX_ACTIVE_REQUESTSVariable

The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.

目标
APP_MAX_ACTIVE_REQUESTS
默认值
0
价值
0
Dify Env: APP_MAX_EXECUTION_TIMEVariable

Upstream Dify self-hosted environment variable.

目标
APP_MAX_EXECUTION_TIME
默认值
1200
价值
1200
Dify Env: CELERY_AUTO_SCALEVariable

Flag indicating whether to enable autoscaling of Celery workers. Autoscaling is useful when tasks are CPU intensive and can be dynamically allocated and deallocated based on the workload. When autoscaling is enabled, the maximum and minimum number of workers can be specified....

目标
CELERY_AUTO_SCALE
默认值
false|true
价值
false
Dify Env: CELERY_MAX_WORKERSVariable

The maximum number of Celery workers that can be autoscaled. This is optional and only used when autoscaling is enabled. Default is not set.

目标
CELERY_MAX_WORKERS
Dify Env: CELERY_MIN_WORKERSVariable

The minimum number of Celery workers that can be autoscaled. This is optional and only used when autoscaling is enabled. Default is not set.

目标
CELERY_MIN_WORKERS
Dify Env: API_TOOL_DEFAULT_CONNECT_TIMEOUTVariable

API Tool configuration

目标
API_TOOL_DEFAULT_CONNECT_TIMEOUT
默认值
10
价值
10
Dify Env: API_TOOL_DEFAULT_READ_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
API_TOOL_DEFAULT_READ_TIMEOUT
默认值
60
价值
60
Dify Env: NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEXVariable

Enable inline LaTeX rendering with single dollar signs ($...$) in the web frontend Default is false for security reasons to prevent conflicts with regular text

目标
NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEX
默认值
false|true
价值
false
Dify Env: SQLALCHEMY_POOL_SIZEVariable

The size of the database connection pool. The default is 30 connections, which can be appropriately increased.

目标
SQLALCHEMY_POOL_SIZE
默认值
30
价值
30
Dify Env: SQLALCHEMY_MAX_OVERFLOWVariable

The default is 10 connections, which allows temporary overflow beyond the pool size.

目标
SQLALCHEMY_MAX_OVERFLOW
默认值
10
价值
10
Dify Env: SQLALCHEMY_POOL_RECYCLEVariable

Database connection pool recycling time, the default is 3600 seconds.

目标
SQLALCHEMY_POOL_RECYCLE
默认值
3600
价值
3600
Dify Env: SQLALCHEMY_ECHOVariable

Whether to print SQL, default is false.

目标
SQLALCHEMY_ECHO
默认值
false|true
价值
false
Dify Env: SQLALCHEMY_POOL_PRE_PINGVariable

If True, will test connections for liveness upon each checkout

目标
SQLALCHEMY_POOL_PRE_PING
默认值
false|true
价值
false
Dify Env: SQLALCHEMY_POOL_USE_LIFOVariable

Whether to enable the Last in first out option or use default FIFO queue if is false

目标
SQLALCHEMY_POOL_USE_LIFO
默认值
false|true
价值
false
Dify Env: SQLALCHEMY_POOL_TIMEOUTVariable

Number of seconds to wait for a connection from the pool before raising a timeout error. Default is 30

目标
SQLALCHEMY_POOL_TIMEOUT
默认值
30
价值
30
Dify Env: POSTGRES_MAX_CONNECTIONSVariable

Maximum number of connections to the database Default is 100 Reference: https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-MAX-CONNECTIONS

目标
POSTGRES_MAX_CONNECTIONS
默认值
200
价值
200
Dify Env: POSTGRES_SHARED_BUFFERSVariable

Sets the amount of shared memory used for postgres's shared buffers. Default is 128MB Recommended value: 25% of available memory Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-SHARED-BUFFERS

目标
POSTGRES_SHARED_BUFFERS
默认值
128MB
价值
128MB
Dify Env: POSTGRES_WORK_MEMVariable

Sets the amount of memory used by each database worker for working space. Default is 4MB Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-WORK-MEM

目标
POSTGRES_WORK_MEM
默认值
4MB
价值
4MB
Dify Env: POSTGRES_MAINTENANCE_WORK_MEMVariable

Sets the amount of memory reserved for maintenance activities. Default is 64MB Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEM

目标
POSTGRES_MAINTENANCE_WORK_MEM
默认值
64MB
价值
64MB
Dify Env: POSTGRES_EFFECTIVE_CACHE_SIZEVariable

Sets the planner's assumption about the effective cache size. Default is 4096MB Reference: https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-EFFECTIVE-CACHE-SIZE

目标
POSTGRES_EFFECTIVE_CACHE_SIZE
默认值
4096MB
价值
4096MB
Dify Env: POSTGRES_STATEMENT_TIMEOUTVariable

Sets the maximum allowed duration of any statement before termination. Default is 0 (no timeout). Reference: https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-STATEMENT-TIMEOUT A value of 0 prevents the server from timing out statements.

目标
POSTGRES_STATEMENT_TIMEOUT
默认值
0
价值
0
Dify Env: POSTGRES_IDLE_IN_TRANSACTION_SESSION_TIMEOUTVariable

Sets the maximum allowed duration of any idle in-transaction session before termination. Default is 0 (no timeout). Reference: https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-IDLE-IN-TRANSACTION-SESSION-TIMEOUT A value of 0 prevents the server from...

目标
POSTGRES_IDLE_IN_TRANSACTION_SESSION_TIMEOUT
默认值
0
价值
0
Dify Env: MYSQL_MAX_CONNECTIONSVariable

MySQL Performance Configuration Maximum number of connections to MySQL Default is 1000

目标
MYSQL_MAX_CONNECTIONS
默认值
1000
价值
1000
Dify Env: MYSQL_INNODB_BUFFER_POOL_SIZEVariable

InnoDB buffer pool size Default is 512M Recommended value: 70-80% of available memory for dedicated MySQL server Reference: https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size

目标
MYSQL_INNODB_BUFFER_POOL_SIZE
默认值
512M
价值
512M
Dify Env: MYSQL_INNODB_LOG_FILE_SIZEVariable

InnoDB log file size Default is 128M Reference: https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_file_size

目标
MYSQL_INNODB_LOG_FILE_SIZE
默认值
128M
价值
128M
Dify Env: MYSQL_INNODB_FLUSH_LOG_AT_TRX_COMMITVariable

InnoDB flush log at transaction commit Default is 2 (flush to OS cache, sync every second) Options: 0 (no flush), 1 (flush and sync), 2 (flush to OS cache) Reference: https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_flush_log_at_trx_commit

目标
MYSQL_INNODB_FLUSH_LOG_AT_TRX_COMMIT
默认值
2
价值
2
Dify Env: REDIS_USERNAMEVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_USERNAME
Dify Env: REDIS_USE_SSLVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_USE_SSL
默认值
false|true
价值
false
Dify Env: REDIS_SSL_CERT_REQSVariable

SSL configuration for Redis (when REDIS_USE_SSL=true)

目标
REDIS_SSL_CERT_REQS
默认值
CERT_NONE|CERT_OPTIONAL|CERT_REQUIRED
价值
CERT_NONE
Dify Env: REDIS_SSL_CA_CERTSVariable

Options: CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED

目标
REDIS_SSL_CA_CERTS
Dify Env: REDIS_SSL_CERTFILEVariable

Path to CA certificate file for SSL verification

目标
REDIS_SSL_CERTFILE
Dify Env: REDIS_SSL_KEYFILEVariable

Path to client certificate file for SSL authentication

目标
REDIS_SSL_KEYFILE
Dify Env: REDIS_DBVariable

Path to client private key file for SSL authentication

目标
REDIS_DB
默认值
0
价值
0
Dify Env: REDIS_KEY_PREFIXVariable

Optional global prefix for Redis keys, topics, streams, and Celery Redis transport artifacts. Leave empty to preserve current unprefixed behavior.

目标
REDIS_KEY_PREFIX
Dify Env: REDIS_MAX_CONNECTIONSVariable

Optional: limit total Redis connections used by API/Worker (unset for default) Align with API's REDIS_MAX_CONNECTIONS in configs

目标
REDIS_MAX_CONNECTIONS
Dify Env: REDIS_USE_SENTINELVariable

Whether to use Redis Sentinel mode. If set to true, the application will automatically discover and connect to the master node through Sentinel.

目标
REDIS_USE_SENTINEL
默认值
false|true
价值
false
Dify Env: REDIS_SENTINELSVariable

List of Redis Sentinel nodes. If Sentinel mode is enabled, provide at least one Sentinel IP and port. Format: `sentinel1_ip:sentinel1_port,sentinel2_ip:sentinel2_port,sentinel3_ip:sentinel3_port`

目标
REDIS_SENTINELS
Dify Env: REDIS_SENTINEL_SERVICE_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_SENTINEL_SERVICE_NAME
Dify Env: REDIS_SENTINEL_USERNAMEVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_SENTINEL_USERNAME
Dify Env: REDIS_SENTINEL_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_SENTINEL_PASSWORD
Dify Env: REDIS_SENTINEL_SOCKET_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_SENTINEL_SOCKET_TIMEOUT
默认值
0.1
价值
0.1
Dify Env: REDIS_USE_CLUSTERSVariable

List of Redis Cluster nodes. If Cluster mode is enabled, provide at least one Cluster IP and port. Format: `Cluster1_ip:Cluster1_port,Cluster2_ip:Cluster2_port,Cluster3_ip:Cluster3_port`

目标
REDIS_USE_CLUSTERS
默认值
false|true
价值
false
Dify Env: REDIS_CLUSTERSVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_CLUSTERS
Dify Env: REDIS_CLUSTERS_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
REDIS_CLUSTERS_PASSWORD
Dify Env: REDIS_RETRY_RETRIESVariable

Redis connection and retry configuration max redis retry

目标
REDIS_RETRY_RETRIES
默认值
3
价值
3
Dify Env: REDIS_RETRY_BACKOFF_BASEVariable

Base delay (in seconds) for exponential backoff on retries

目标
REDIS_RETRY_BACKOFF_BASE
默认值
1.0
价值
1.0
Dify Env: REDIS_RETRY_BACKOFF_CAPVariable

Cap (in seconds) for exponential backoff on retries

目标
REDIS_RETRY_BACKOFF_CAP
默认值
10.0
价值
10.0
Dify Env: REDIS_SOCKET_TIMEOUTVariable

Timeout (in seconds) for Redis socket operations

目标
REDIS_SOCKET_TIMEOUT
默认值
5.0
价值
5.0
Dify Env: REDIS_SOCKET_CONNECT_TIMEOUTVariable

Timeout (in seconds) for establishing a Redis connection

目标
REDIS_SOCKET_CONNECT_TIMEOUT
默认值
5.0
价值
5.0
Dify Env: REDIS_HEALTH_CHECK_INTERVALVariable

Interval (in seconds) for Redis health checks

目标
REDIS_HEALTH_CHECK_INTERVAL
默认值
30
价值
30
Dify Env: CELERY_BACKENDVariable

Upstream Dify self-hosted environment variable.

目标
CELERY_BACKEND
默认值
redis
价值
redis
Dify Env: BROKER_USE_SSLVariable

Upstream Dify self-hosted environment variable.

目标
BROKER_USE_SSL
默认值
false|true
价值
false
Dify Env: CELERY_USE_SENTINELVariable

If you are using Redis Sentinel for high availability, configure the following settings.

目标
CELERY_USE_SENTINEL
默认值
false|true
价值
false
Dify Env: CELERY_SENTINEL_MASTER_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
CELERY_SENTINEL_MASTER_NAME
Dify Env: CELERY_SENTINEL_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
CELERY_SENTINEL_PASSWORD
Dify Env: CELERY_SENTINEL_SOCKET_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
CELERY_SENTINEL_SOCKET_TIMEOUT
默认值
0.1
价值
0.1
Dify Env: CELERY_TASK_ANNOTATIONSVariable

e.g. {"tasks.add": {"rate_limit": "10/s"}}

目标
CELERY_TASK_ANNOTATIONS
默认值
null
价值
null
Dify Env: WEB_API_CORS_ALLOW_ORIGINSVariable

Specifies the allowed origins for cross-origin requests to the Web API, e.g. https://dify.app or * for all origins.

目标
WEB_API_CORS_ALLOW_ORIGINS
默认值
*
价值
*
Dify Env: CONSOLE_CORS_ALLOW_ORIGINSVariable

Specifies the allowed origins for cross-origin requests to the console API, e.g. https://cloud.dify.ai or * for all origins.

目标
CONSOLE_CORS_ALLOW_ORIGINS
默认值
*
价值
*
Dify Env: COOKIE_DOMAINVariable

When the frontend and backend run on different subdomains, set COOKIE_DOMAIN to the site's top-level domain (e.g., `example.com`). Leading dots are optional.

目标
COOKIE_DOMAIN
Dify Env: NEXT_PUBLIC_COOKIE_DOMAINVariable

When the frontend and backend run on different subdomains, set NEXT_PUBLIC_COOKIE_DOMAIN=1.

目标
NEXT_PUBLIC_COOKIE_DOMAIN
Dify Env: NEXT_PUBLIC_BATCH_CONCURRENCYVariable

Upstream Dify self-hosted environment variable.

目标
NEXT_PUBLIC_BATCH_CONCURRENCY
默认值
5
价值
5
Dify Env: CLICKZETTA_VOLUME_TYPEVariable

Volume type selection (three types available): - user: Personal/small team use, simple config, user-level permissions - table: Enterprise multi-tenant, smart routing, table-level + user-level permissions - external: Data lake integration, external storage connection, volume-...

目标
CLICKZETTA_VOLUME_TYPE
默认值
user
价值
user
Dify Env: CLICKZETTA_VOLUME_NAMEVariable

External Volume name (required only when TYPE=external)

目标
CLICKZETTA_VOLUME_NAME
Dify Env: CLICKZETTA_VOLUME_TABLE_PREFIXVariable

Table Volume table prefix (used only when TYPE=table)

目标
CLICKZETTA_VOLUME_TABLE_PREFIX
默认值
dataset_
价值
dataset_
Dify Env: CLICKZETTA_VOLUME_DIFY_PREFIXVariable

Dify file directory prefix (isolates from other apps, recommended to keep default)

目标
CLICKZETTA_VOLUME_DIFY_PREFIX
默认值
dify_km
价值
dify_km
Dify Env: S3_ADDRESS_STYLEVariable

Upstream Dify self-hosted environment variable.

目标
S3_ADDRESS_STYLE
默认值
auto
价值
auto
Dify Env: S3_USE_AWS_MANAGED_IAMVariable

Whether to use AWS managed IAM roles for authenticating with the S3 service. If set to false, the access key and secret key must be provided.

目标
S3_USE_AWS_MANAGED_IAM
默认值
false|true
价值
false
Dify Env: ARCHIVE_STORAGE_ENABLEDVariable

Workflow run and Conversation archive storage (S3-compatible)

目标
ARCHIVE_STORAGE_ENABLED
默认值
false|true
价值
false
Dify Env: ARCHIVE_STORAGE_ENDPOINTVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_ENDPOINT
Dify Env: ARCHIVE_STORAGE_ARCHIVE_BUCKETVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_ARCHIVE_BUCKET
Dify Env: ARCHIVE_STORAGE_EXPORT_BUCKETVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_EXPORT_BUCKET
Dify Env: ARCHIVE_STORAGE_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_ACCESS_KEY
Dify Env: ARCHIVE_STORAGE_SECRET_KEYVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_SECRET_KEY
Dify Env: ARCHIVE_STORAGE_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
ARCHIVE_STORAGE_REGION
默认值
auto
价值
auto
Dify Env: AZURE_BLOB_ACCOUNT_NAMEVariable

Azure Blob Configuration

目标
AZURE_BLOB_ACCOUNT_NAME
默认值
difyai
价值
difyai
Dify Env: AZURE_BLOB_ACCOUNT_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
AZURE_BLOB_ACCOUNT_KEY
Dify Env: AZURE_BLOB_CONTAINER_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
AZURE_BLOB_CONTAINER_NAME
默认值
difyai-container
价值
difyai-container
Dify Env: AZURE_BLOB_ACCOUNT_URLVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
AZURE_BLOB_ACCOUNT_URL
Dify Env: GOOGLE_STORAGE_BUCKET_NAMEVariable

Google Storage Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
GOOGLE_STORAGE_BUCKET_NAME
Dify Env: GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64Variable

Upstream Dify self-hosted environment variable.

目标
GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64
Dify Env: ALIYUN_OSS_BUCKET_NAMEVariable

The Alibaba Cloud OSS configurations, Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
ALIYUN_OSS_BUCKET_NAME
Dify Env: ALIYUN_OSS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ALIYUN_OSS_ACCESS_KEY
Dify Env: ALIYUN_OSS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ALIYUN_OSS_SECRET_KEY
Dify Env: ALIYUN_OSS_ENDPOINTVariable

Upstream Dify self-hosted environment variable. Official default: 'https://oss-ap-southeast-1-internal.aliyuncs.com'.

目标
ALIYUN_OSS_ENDPOINT
Dify Env: ALIYUN_OSS_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
ALIYUN_OSS_REGION
默认值
ap-southeast-1
价值
ap-southeast-1
Dify Env: ALIYUN_OSS_AUTH_VERSIONVariable

Upstream Dify self-hosted environment variable.

目标
ALIYUN_OSS_AUTH_VERSION
默认值
v4
价值
v4
Dify Env: ALIYUN_OSS_PATHVariable

Don't start with '/'. OSS doesn't support leading slash in object names. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
ALIYUN_OSS_PATH
Dify Env: TENCENT_COS_BUCKET_NAMEVariable

Tencent COS Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_BUCKET_NAME
Dify Env: TENCENT_COS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_SECRET_KEY
Dify Env: TENCENT_COS_SECRET_IDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_SECRET_ID
Dify Env: TENCENT_COS_REGIONVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_REGION
Dify Env: TENCENT_COS_SCHEMEVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_SCHEME
Dify Env: TENCENT_COS_CUSTOM_DOMAINVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
TENCENT_COS_CUSTOM_DOMAIN
Dify Env: OCI_ENDPOINTVariable

Oracle Storage Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
OCI_ENDPOINT
Dify Env: OCI_BUCKET_NAMEVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
OCI_BUCKET_NAME
Dify Env: OCI_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
OCI_ACCESS_KEY
Dify Env: OCI_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
OCI_SECRET_KEY
Dify Env: OCI_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
OCI_REGION
默认值
us-ashburn-1
价值
us-ashburn-1
Dify Env: HUAWEI_OBS_BUCKET_NAMEVariable

Huawei OBS Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
HUAWEI_OBS_BUCKET_NAME
Dify Env: HUAWEI_OBS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
HUAWEI_OBS_SECRET_KEY
Dify Env: HUAWEI_OBS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
HUAWEI_OBS_ACCESS_KEY
Dify Env: HUAWEI_OBS_SERVERVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
HUAWEI_OBS_SERVER
Dify Env: HUAWEI_OBS_PATH_STYLEVariable

Upstream Dify self-hosted environment variable.

目标
HUAWEI_OBS_PATH_STYLE
默认值
false|true
价值
false
Dify Env: VOLCENGINE_TOS_BUCKET_NAMEVariable

Volcengine TOS Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
VOLCENGINE_TOS_BUCKET_NAME
Dify Env: VOLCENGINE_TOS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
VOLCENGINE_TOS_SECRET_KEY
Dify Env: VOLCENGINE_TOS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
VOLCENGINE_TOS_ACCESS_KEY
Dify Env: VOLCENGINE_TOS_ENDPOINTVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
VOLCENGINE_TOS_ENDPOINT
Dify Env: VOLCENGINE_TOS_REGIONVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
VOLCENGINE_TOS_REGION
Dify Env: BAIDU_OBS_BUCKET_NAMEVariable

Baidu OBS Storage Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
BAIDU_OBS_BUCKET_NAME
Dify Env: BAIDU_OBS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
BAIDU_OBS_SECRET_KEY
Dify Env: BAIDU_OBS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
BAIDU_OBS_ACCESS_KEY
Dify Env: BAIDU_OBS_ENDPOINTVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
BAIDU_OBS_ENDPOINT
Dify Env: SUPABASE_BUCKET_NAMEVariable

Supabase Storage Configuration Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
SUPABASE_BUCKET_NAME
Dify Env: SUPABASE_API_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
SUPABASE_API_KEY
Dify Env: SUPABASE_URLVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
SUPABASE_URL
Dify Env: VECTOR_INDEX_NAME_PREFIXVariable

Prefix used to create collection name in vector database

目标
VECTOR_INDEX_NAME_PREFIX
默认值
Vector_index
价值
Vector_index
Dify Env: WEAVIATE_TOKENIZATIONVariable

Upstream Dify self-hosted environment variable.

目标
WEAVIATE_TOKENIZATION
默认值
word
价值
word
Dify Env: QDRANT_CLIENT_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
QDRANT_CLIENT_TIMEOUT
默认值
20
价值
20
Dify Env: QDRANT_GRPC_ENABLEDVariable

Upstream Dify self-hosted environment variable.

目标
QDRANT_GRPC_ENABLED
默认值
false|true
价值
false
Dify Env: QDRANT_GRPC_PORTVariable

Upstream Dify self-hosted environment variable.

目标
QDRANT_GRPC_PORT
默认值
6334
价值
6334
Dify Env: QDRANT_REPLICATION_FACTORVariable

Upstream Dify self-hosted environment variable.

目标
QDRANT_REPLICATION_FACTOR
默认值
1
价值
1
Dify Env: MILVUS_URIVariable

Milvus configuration. Only available when VECTOR_STORE is `milvus`. The milvus uri.

目标
MILVUS_URI
默认值
http://host.docker.internal:19530
价值
http://host.docker.internal:19530
Dify Env: MILVUS_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_DATABASE
Dify Env: MILVUS_TOKENVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_TOKEN
Dify Env: MILVUS_USERVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_USER
Dify Env: MILVUS_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_PASSWORD
Dify Env: MILVUS_ENABLE_HYBRID_SEARCHVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_ENABLE_HYBRID_SEARCH
默认值
False|True
价值
False
Dify Env: MILVUS_ANALYZER_PARAMSVariable

Upstream Dify self-hosted environment variable.

目标
MILVUS_ANALYZER_PARAMS
Dify Env: MYSCALE_HOSTVariable

MyScale configuration, only available when VECTOR_STORE is `myscale` For multi-language support, please set MYSCALE_FTS_PARAMS with referring to: https://myscale.com/docs/en/text-search/#understanding-fts-index-parameters Official default: 'myscale'.

目标
MYSCALE_HOST
Dify Env: MYSCALE_PORTVariable

Upstream Dify self-hosted environment variable.

目标
MYSCALE_PORT
默认值
8123
价值
8123
Dify Env: MYSCALE_USERVariable

Upstream Dify self-hosted environment variable.

目标
MYSCALE_USER
默认值
default
价值
default
Dify Env: MYSCALE_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
MYSCALE_PASSWORD
Dify Env: MYSCALE_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
MYSCALE_DATABASE
默认值
dify
价值
dify
Dify Env: MYSCALE_FTS_PARAMSVariable

Upstream Dify self-hosted environment variable.

目标
MYSCALE_FTS_PARAMS
Dify Env: COUCHBASE_CONNECTION_STRINGVariable

Couchbase configurations, only available when VECTOR_STORE is `couchbase` The connection string must include hostname defined in the docker-compose file (couchbase-server in this case) Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
COUCHBASE_CONNECTION_STRING
Dify Env: COUCHBASE_USERVariable

Upstream Dify self-hosted environment variable.

目标
COUCHBASE_USER
默认值
Administrator
价值
Administrator
Dify Env: COUCHBASE_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
COUCHBASE_PASSWORD
Dify Env: COUCHBASE_BUCKET_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
COUCHBASE_BUCKET_NAME
默认值
Embeddings
价值
Embeddings
Dify Env: COUCHBASE_SCOPE_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
COUCHBASE_SCOPE_NAME
默认值
_default
价值
_default
Dify Env: HOLOGRES_HOSTVariable

Hologres configurations, only available when VECTOR_STORE is `hologres` access_key_id is used as the PG username, access_key_secret is used as the PG password

目标
HOLOGRES_HOST
Dify Env: HOLOGRES_PORTVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_PORT
默认值
80
价值
80
Dify Env: HOLOGRES_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_DATABASE
Dify Env: HOLOGRES_ACCESS_KEY_IDVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_ACCESS_KEY_ID
Dify Env: HOLOGRES_ACCESS_KEY_SECRETVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_ACCESS_KEY_SECRET
Dify Env: HOLOGRES_SCHEMAVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_SCHEMA
默认值
public
价值
public
Dify Env: HOLOGRES_TOKENIZERVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_TOKENIZER
默认值
jieba
价值
jieba
Dify Env: HOLOGRES_DISTANCE_METHODVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_DISTANCE_METHOD
默认值
Cosine
价值
Cosine
Dify Env: HOLOGRES_BASE_QUANTIZATION_TYPEVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_BASE_QUANTIZATION_TYPE
默认值
rabitq
价值
rabitq
Dify Env: HOLOGRES_MAX_DEGREEVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_MAX_DEGREE
默认值
64
价值
64
Dify Env: HOLOGRES_EF_CONSTRUCTIONVariable

Upstream Dify self-hosted environment variable.

目标
HOLOGRES_EF_CONSTRUCTION
默认值
400
价值
400
Dify Env: PGVECTOR_MIN_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTOR_MIN_CONNECTION
默认值
1
价值
1
Dify Env: PGVECTOR_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTOR_MAX_CONNECTION
默认值
5
价值
5
Dify Env: PGVECTOR_PG_BIGMVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTOR_PG_BIGM
默认值
false|true
价值
false
Dify Env: PGVECTOR_PG_BIGM_VERSIONVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTOR_PG_BIGM_VERSION
默认值
1.2-20240606
价值
1.2-20240606
Dify Env: VASTBASE_HOSTVariable

vastbase configurations, only available when VECTOR_STORE is `vastbase` Official default: 'vastbase'.

目标
VASTBASE_HOST
Dify Env: VASTBASE_PORTVariable

Upstream Dify self-hosted environment variable.

目标
VASTBASE_PORT
默认值
5432
价值
5432
Dify Env: VASTBASE_USERVariable

Upstream Dify self-hosted environment variable.

目标
VASTBASE_USER
默认值
dify
价值
dify
Dify Env: VASTBASE_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
VASTBASE_PASSWORD
Dify Env: VASTBASE_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
VASTBASE_DATABASE
默认值
dify
价值
dify
Dify Env: VASTBASE_MIN_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
VASTBASE_MIN_CONNECTION
默认值
1
价值
1
Dify Env: VASTBASE_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
VASTBASE_MAX_CONNECTION
默认值
5
价值
5
Dify Env: PGVECTO_RS_HOSTVariable

pgvecto-rs configurations, only available when VECTOR_STORE is `pgvecto-rs` Official default: 'pgvecto-rs'.

目标
PGVECTO_RS_HOST
Dify Env: PGVECTO_RS_PORTVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTO_RS_PORT
默认值
5432
价值
5432
Dify Env: PGVECTO_RS_USERVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTO_RS_USER
默认值
postgres
价值
postgres
Dify Env: PGVECTO_RS_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
PGVECTO_RS_PASSWORD
Dify Env: PGVECTO_RS_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
PGVECTO_RS_DATABASE
默认值
dify
价值
dify
Dify Env: ANALYTICDB_KEY_IDVariable

analyticdb configurations, only available when VECTOR_STORE is `analyticdb` Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ANALYTICDB_KEY_ID
Dify Env: ANALYTICDB_KEY_SECRETVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ANALYTICDB_KEY_SECRET
Dify Env: ANALYTICDB_REGION_IDVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_REGION_ID
默认值
cn-hangzhou
价值
cn-hangzhou
Dify Env: ANALYTICDB_INSTANCE_IDVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_INSTANCE_ID
默认值
gp-ab123456
价值
gp-ab123456
Dify Env: ANALYTICDB_ACCOUNTVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_ACCOUNT
默认值
testaccount
价值
testaccount
Dify Env: ANALYTICDB_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ANALYTICDB_PASSWORD
Dify Env: ANALYTICDB_NAMESPACEVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_NAMESPACE
默认值
dify
价值
dify
Dify Env: ANALYTICDB_NAMESPACE_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ANALYTICDB_NAMESPACE_PASSWORD
Dify Env: ANALYTICDB_HOSTVariable

Upstream Dify self-hosted environment variable. Official default: 'gp-test.aliyuncs.com'.

目标
ANALYTICDB_HOST
Dify Env: ANALYTICDB_PORTVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_PORT
默认值
5432
价值
5432
Dify Env: ANALYTICDB_MIN_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_MIN_CONNECTION
默认值
1
价值
1
Dify Env: ANALYTICDB_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
ANALYTICDB_MAX_CONNECTION
默认值
5
价值
5
Dify Env: TIDB_VECTOR_HOSTVariable

TiDB vector configurations, only available when VECTOR_STORE is `tidb_vector` Official default: 'tidb'.

目标
TIDB_VECTOR_HOST
Dify Env: TIDB_VECTOR_PORTVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_VECTOR_PORT
默认值
4000
价值
4000
Dify Env: TIDB_VECTOR_USERVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_VECTOR_USER
Dify Env: TIDB_VECTOR_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_VECTOR_PASSWORD
Dify Env: TIDB_VECTOR_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_VECTOR_DATABASE
默认值
dify
价值
dify
Dify Env: MATRIXONE_HOSTVariable

Matrixone vector configurations. Official default: 'matrixone'.

目标
MATRIXONE_HOST
Dify Env: MATRIXONE_PORTVariable

Upstream Dify self-hosted environment variable.

目标
MATRIXONE_PORT
默认值
6001
价值
6001
Dify Env: MATRIXONE_USERVariable

Upstream Dify self-hosted environment variable.

目标
MATRIXONE_USER
默认值
dump
价值
dump
Dify Env: MATRIXONE_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
MATRIXONE_PASSWORD
Dify Env: MATRIXONE_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
MATRIXONE_DATABASE
默认值
dify
价值
dify
Dify Env: TIDB_ON_QDRANT_URLVariable

Tidb on qdrant configuration, only available when VECTOR_STORE is `tidb_on_qdrant` Official default: 'http://127.0.0.1'.

目标
TIDB_ON_QDRANT_URL
Dify Env: TIDB_ON_QDRANT_API_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TIDB_ON_QDRANT_API_KEY
Dify Env: TIDB_ON_QDRANT_CLIENT_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_ON_QDRANT_CLIENT_TIMEOUT
默认值
20
价值
20
Dify Env: TIDB_ON_QDRANT_GRPC_ENABLEDVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_ON_QDRANT_GRPC_ENABLED
默认值
false|true
价值
false
Dify Env: TIDB_ON_QDRANT_GRPC_PORTVariable

Upstream Dify self-hosted environment variable.

目标
TIDB_ON_QDRANT_GRPC_PORT
默认值
6334
价值
6334
Dify Env: CHROMA_HOSTVariable

Chroma configuration, only available when VECTOR_STORE is `chroma` Official default: '127.0.0.1'.

目标
CHROMA_HOST
Dify Env: CHROMA_PORTVariable

Upstream Dify self-hosted environment variable.

目标
CHROMA_PORT
默认值
8000
价值
8000
Dify Env: CHROMA_TENANTVariable

Upstream Dify self-hosted environment variable.

目标
CHROMA_TENANT
默认值
default_tenant
价值
default_tenant
Dify Env: CHROMA_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
CHROMA_DATABASE
默认值
default_database
价值
default_database
Dify Env: CHROMA_AUTH_PROVIDERVariable

Upstream Dify self-hosted environment variable.

目标
CHROMA_AUTH_PROVIDER
默认值
chromadb.auth.token_authn.TokenAuthClientProvider
价值
chromadb.auth.token_authn.TokenAuthClientProvider
Dify Env: CHROMA_AUTH_CREDENTIALSVariable

Upstream Dify self-hosted environment variable.

目标
CHROMA_AUTH_CREDENTIALS
Dify Env: ORACLE_USERVariable

Oracle configuration, only available when VECTOR_STORE is `oracle`

目标
ORACLE_USER
默认值
dify
价值
dify
Dify Env: ORACLE_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ORACLE_PASSWORD
Dify Env: ORACLE_DSNVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ORACLE_DSN
Dify Env: ORACLE_CONFIG_DIRVariable

Upstream Dify self-hosted environment variable.

目标
ORACLE_CONFIG_DIR
默认值
/app/api/storage/wallet
价值
/app/api/storage/wallet
Dify Env: ORACLE_WALLET_LOCATIONVariable

Upstream Dify self-hosted environment variable.

目标
ORACLE_WALLET_LOCATION
默认值
/app/api/storage/wallet
价值
/app/api/storage/wallet
Dify Env: ORACLE_WALLET_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ORACLE_WALLET_PASSWORD
Dify Env: ORACLE_IS_AUTONOMOUSVariable

Upstream Dify self-hosted environment variable.

目标
ORACLE_IS_AUTONOMOUS
默认值
false|true
价值
false
Dify Env: ALIBABACLOUD_MYSQL_HOSTVariable

AlibabaCloud MySQL configuration, only available when VECTOR_STORE is `alibabacloud_mysql` Official default: '127.0.0.1'.

目标
ALIBABACLOUD_MYSQL_HOST
Dify Env: ALIBABACLOUD_MYSQL_PORTVariable

Upstream Dify self-hosted environment variable.

目标
ALIBABACLOUD_MYSQL_PORT
默认值
3306
价值
3306
Dify Env: ALIBABACLOUD_MYSQL_USERVariable

Upstream Dify self-hosted environment variable.

目标
ALIBABACLOUD_MYSQL_USER
默认值
root
价值
root
Dify Env: ALIBABACLOUD_MYSQL_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ALIBABACLOUD_MYSQL_PASSWORD
Dify Env: ALIBABACLOUD_MYSQL_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
ALIBABACLOUD_MYSQL_DATABASE
默认值
dify
价值
dify
Dify Env: ALIBABACLOUD_MYSQL_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
ALIBABACLOUD_MYSQL_MAX_CONNECTION
默认值
5
价值
5
Dify Env: ALIBABACLOUD_MYSQL_HNSW_MVariable

Upstream Dify self-hosted environment variable.

目标
ALIBABACLOUD_MYSQL_HNSW_M
默认值
6
价值
6
Dify Env: RELYT_HOSTVariable

relyt configurations, only available when VECTOR_STORE is `relyt` Official default: 'db'.

目标
RELYT_HOST
Dify Env: RELYT_PORTVariable

Upstream Dify self-hosted environment variable.

目标
RELYT_PORT
默认值
5432
价值
5432
Dify Env: RELYT_USERVariable

Upstream Dify self-hosted environment variable.

目标
RELYT_USER
默认值
postgres
价值
postgres
Dify Env: RELYT_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
RELYT_PASSWORD
Dify Env: RELYT_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
RELYT_DATABASE
默认值
postgres
价值
postgres
Dify Env: OPENSEARCH_HOSTVariable

open search configuration, only available when VECTOR_STORE is `opensearch` Official default: 'opensearch'.

目标
OPENSEARCH_HOST
Dify Env: OPENSEARCH_PORTVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_PORT
默认值
9200
价值
9200
Dify Env: OPENSEARCH_SECUREVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_SECURE
默认值
true|false
价值
true
Dify Env: OPENSEARCH_VERIFY_CERTSVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_VERIFY_CERTS
默认值
true|false
价值
true
Dify Env: OPENSEARCH_AUTH_METHODVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_AUTH_METHOD
默认值
basic
价值
basic
Dify Env: OPENSEARCH_USERVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_USER
默认值
admin
价值
admin
Dify Env: OPENSEARCH_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
OPENSEARCH_PASSWORD
Dify Env: OPENSEARCH_AWS_REGIONVariable

If using AWS managed IAM, e.g. Managed Cluster or OpenSearch Serverless

目标
OPENSEARCH_AWS_REGION
默认值
ap-southeast-1
价值
ap-southeast-1
Dify Env: OPENSEARCH_AWS_SERVICEVariable

Upstream Dify self-hosted environment variable.

目标
OPENSEARCH_AWS_SERVICE
默认值
aoss
价值
aoss
Dify Env: TENCENT_VECTOR_DB_URLVariable

tencent vector configurations, only available when VECTOR_STORE is `tencent` Official default: 'http://127.0.0.1'.

目标
TENCENT_VECTOR_DB_URL
Dify Env: TENCENT_VECTOR_DB_API_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TENCENT_VECTOR_DB_API_KEY
Dify Env: TENCENT_VECTOR_DB_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_TIMEOUT
默认值
30
价值
30
Dify Env: TENCENT_VECTOR_DB_USERNAMEVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_USERNAME
默认值
dify
价值
dify
Dify Env: TENCENT_VECTOR_DB_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_DATABASE
默认值
dify
价值
dify
Dify Env: TENCENT_VECTOR_DB_SHARDVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_SHARD
默认值
1
价值
1
Dify Env: TENCENT_VECTOR_DB_REPLICASVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_REPLICAS
默认值
2
价值
2
Dify Env: TENCENT_VECTOR_DB_ENABLE_HYBRID_SEARCHVariable

Upstream Dify self-hosted environment variable.

目标
TENCENT_VECTOR_DB_ENABLE_HYBRID_SEARCH
默认值
false|true
价值
false
Dify Env: ELASTICSEARCH_HOSTVariable

ElasticSearch configuration, only available when VECTOR_STORE is `elasticsearch` Official default: '0.0.0.0'.

目标
ELASTICSEARCH_HOST
Dify Env: ELASTICSEARCH_PORTVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_PORT
默认值
9200
价值
9200
Dify Env: ELASTICSEARCH_USERNAMEVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_USERNAME
默认值
elastic
价值
elastic
Dify Env: ELASTICSEARCH_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ELASTICSEARCH_PASSWORD
Dify Env: ELASTICSEARCH_USE_CLOUDVariable

Using ElasticSearch Cloud Serverless, or not.

目标
ELASTICSEARCH_USE_CLOUD
默认值
false|true
价值
false
Dify Env: ELASTICSEARCH_CLOUD_URLVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
ELASTICSEARCH_CLOUD_URL
Dify Env: ELASTICSEARCH_API_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
ELASTICSEARCH_API_KEY
Dify Env: ELASTICSEARCH_VERIFY_CERTSVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_VERIFY_CERTS
默认值
False|True
价值
False
Dify Env: ELASTICSEARCH_CA_CERTSVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_CA_CERTS
Dify Env: ELASTICSEARCH_REQUEST_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_REQUEST_TIMEOUT
默认值
100000
价值
100000
Dify Env: ELASTICSEARCH_RETRY_ON_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_RETRY_ON_TIMEOUT
默认值
True|False
价值
True
Dify Env: ELASTICSEARCH_MAX_RETRIESVariable

Upstream Dify self-hosted environment variable.

目标
ELASTICSEARCH_MAX_RETRIES
默认值
10
价值
10
Dify Env: BAIDU_VECTOR_DB_ENDPOINTVariable

baidu vector configurations, only available when VECTOR_STORE is `baidu` Official default: 'http://127.0.0.1:5287'.

目标
BAIDU_VECTOR_DB_ENDPOINT
Dify Env: BAIDU_VECTOR_DB_CONNECTION_TIMEOUT_MSVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_CONNECTION_TIMEOUT_MS
默认值
30000
价值
30000
Dify Env: BAIDU_VECTOR_DB_ACCOUNTVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_ACCOUNT
默认值
root
价值
root
Dify Env: BAIDU_VECTOR_DB_API_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
BAIDU_VECTOR_DB_API_KEY
Dify Env: BAIDU_VECTOR_DB_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_DATABASE
默认值
dify
价值
dify
Dify Env: BAIDU_VECTOR_DB_SHARDVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_SHARD
默认值
1
价值
1
Dify Env: BAIDU_VECTOR_DB_REPLICASVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_REPLICAS
默认值
3
价值
3
Dify Env: BAIDU_VECTOR_DB_INVERTED_INDEX_ANALYZERVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_INVERTED_INDEX_ANALYZER
默认值
DEFAULT_ANALYZER
价值
DEFAULT_ANALYZER
Dify Env: BAIDU_VECTOR_DB_INVERTED_INDEX_PARSER_MODEVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_INVERTED_INDEX_PARSER_MODE
默认值
COARSE_MODE
价值
COARSE_MODE
Dify Env: BAIDU_VECTOR_DB_AUTO_BUILD_ROW_COUNT_INCREMENTVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_AUTO_BUILD_ROW_COUNT_INCREMENT
默认值
500
价值
500
Dify Env: BAIDU_VECTOR_DB_AUTO_BUILD_ROW_COUNT_INCREMENT_RATIOVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_AUTO_BUILD_ROW_COUNT_INCREMENT_RATIO
默认值
0.05
价值
0.05
Dify Env: BAIDU_VECTOR_DB_REBUILD_INDEX_TIMEOUT_IN_SECONDSVariable

Upstream Dify self-hosted environment variable.

目标
BAIDU_VECTOR_DB_REBUILD_INDEX_TIMEOUT_IN_SECONDS
默认值
300
价值
300
Dify Env: VIKINGDB_ACCESS_KEYVariable

VikingDB configurations, only available when VECTOR_STORE is `vikingdb` Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
VIKINGDB_ACCESS_KEY
Dify Env: VIKINGDB_SECRET_KEYVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
VIKINGDB_SECRET_KEY
Dify Env: VIKINGDB_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
VIKINGDB_REGION
默认值
cn-shanghai
价值
cn-shanghai
Dify Env: VIKINGDB_HOSTVariable

Upstream Dify self-hosted environment variable. Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
VIKINGDB_HOST
Dify Env: VIKINGDB_SCHEMAVariable

Upstream Dify self-hosted environment variable.

目标
VIKINGDB_SCHEMA
默认值
http
价值
http
Dify Env: VIKINGDB_CONNECTION_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
VIKINGDB_CONNECTION_TIMEOUT
默认值
30
价值
30
Dify Env: VIKINGDB_SOCKET_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
VIKINGDB_SOCKET_TIMEOUT
默认值
30
价值
30
Dify Env: LINDORM_URLVariable

Lindorm configuration, only available when VECTOR_STORE is `lindorm` Official default: 'http://localhost:30070'.

目标
LINDORM_URL
Dify Env: LINDORM_USERNAMEVariable

Upstream Dify self-hosted environment variable.

目标
LINDORM_USERNAME
默认值
admin
价值
admin
Dify Env: LINDORM_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
LINDORM_PASSWORD
Dify Env: LINDORM_USING_UGCVariable

Upstream Dify self-hosted environment variable.

目标
LINDORM_USING_UGC
默认值
True|False
价值
True
Dify Env: LINDORM_QUERY_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
LINDORM_QUERY_TIMEOUT
默认值
1
价值
1
Dify Env: OPENGAUSS_HOSTVariable

opengauss configurations, only available when VECTOR_STORE is `opengauss` Official default: 'opengauss'.

目标
OPENGAUSS_HOST
Dify Env: OPENGAUSS_PORTVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_PORT
默认值
6600
价值
6600
Dify Env: OPENGAUSS_USERVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_USER
默认值
postgres
价值
postgres
Dify Env: OPENGAUSS_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
OPENGAUSS_PASSWORD
Dify Env: OPENGAUSS_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_DATABASE
默认值
dify
价值
dify
Dify Env: OPENGAUSS_MIN_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_MIN_CONNECTION
默认值
1
价值
1
Dify Env: OPENGAUSS_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_MAX_CONNECTION
默认值
5
价值
5
Dify Env: OPENGAUSS_ENABLE_PQVariable

Upstream Dify self-hosted environment variable.

目标
OPENGAUSS_ENABLE_PQ
默认值
false|true
价值
false
Dify Env: HUAWEI_CLOUD_HOSTSVariable

huawei cloud search service vector configurations, only available when VECTOR_STORE is `huawei_cloud` Official default: 'https://127.0.0.1:9200'.

目标
HUAWEI_CLOUD_HOSTS
Dify Env: HUAWEI_CLOUD_USERVariable

Upstream Dify self-hosted environment variable.

目标
HUAWEI_CLOUD_USER
默认值
admin
价值
admin
Dify Env: HUAWEI_CLOUD_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
HUAWEI_CLOUD_PASSWORD
Dify Env: UPSTASH_VECTOR_URLVariable

Upstash Vector configuration, only available when VECTOR_STORE is `upstash` Upstream ships a placeholder value; the AIO template intentionally leaves it blank.

目标
UPSTASH_VECTOR_URL
Dify Env: UPSTASH_VECTOR_TOKENVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
UPSTASH_VECTOR_TOKEN
Dify Env: TABLESTORE_ENDPOINTVariable

TableStore Vector configuration (only used when VECTOR_STORE is tablestore) Official default: 'https://instance-name.cn-hangzhou.ots.aliyuncs.com'.

目标
TABLESTORE_ENDPOINT
Dify Env: TABLESTORE_INSTANCE_NAMEVariable

Upstream Dify self-hosted environment variable.

目标
TABLESTORE_INSTANCE_NAME
默认值
instance-name
价值
instance-name
Dify Env: TABLESTORE_ACCESS_KEY_IDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TABLESTORE_ACCESS_KEY_ID
Dify Env: TABLESTORE_ACCESS_KEY_SECRETVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
TABLESTORE_ACCESS_KEY_SECRET
Dify Env: TABLESTORE_NORMALIZE_FULLTEXT_BM25_SCOREVariable

Upstream Dify self-hosted environment variable.

目标
TABLESTORE_NORMALIZE_FULLTEXT_BM25_SCORE
默认值
false|true
价值
false
Dify Env: CLICKZETTA_USERNAMEVariable

Clickzetta configuration, only available when VECTOR_STORE is `clickzetta`

目标
CLICKZETTA_USERNAME
Dify Env: CLICKZETTA_PASSWORDVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_PASSWORD
Dify Env: CLICKZETTA_INSTANCEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_INSTANCE
Dify Env: CLICKZETTA_SERVICEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_SERVICE
默认值
api.clickzetta.com
价值
api.clickzetta.com
Dify Env: CLICKZETTA_WORKSPACEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_WORKSPACE
默认值
quick_start
价值
quick_start
Dify Env: CLICKZETTA_VCLUSTERVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_VCLUSTER
默认值
default_ap
价值
default_ap
Dify Env: CLICKZETTA_SCHEMAVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_SCHEMA
默认值
dify
价值
dify
Dify Env: CLICKZETTA_BATCH_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_BATCH_SIZE
默认值
100
价值
100
Dify Env: CLICKZETTA_ENABLE_INVERTED_INDEXVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_ENABLE_INVERTED_INDEX
默认值
true|false
价值
true
Dify Env: CLICKZETTA_ANALYZER_TYPEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_ANALYZER_TYPE
默认值
chinese
价值
chinese
Dify Env: CLICKZETTA_ANALYZER_MODEVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_ANALYZER_MODE
默认值
smart
价值
smart
Dify Env: CLICKZETTA_VECTOR_DISTANCE_FUNCTIONVariable

Upstream Dify self-hosted environment variable.

目标
CLICKZETTA_VECTOR_DISTANCE_FUNCTION
默认值
cosine_distance
价值
cosine_distance
Dify Env: IRIS_HOSTVariable

InterSystems IRIS configuration, only available when VECTOR_STORE is `iris` Official default: 'iris'.

目标
IRIS_HOST
Dify Env: IRIS_SUPER_SERVER_PORTVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_SUPER_SERVER_PORT
默认值
1972
价值
1972
Dify Env: IRIS_WEB_SERVER_PORTVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_WEB_SERVER_PORT
默认值
52773
价值
52773
Dify Env: IRIS_USERVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_USER
默认值
_SYSTEM
价值
_SYSTEM
Dify Env: IRIS_PASSWORDVariable

Upstream Dify self-hosted environment variable. Upstream ships a sample value; the AIO template intentionally leaves it blank.

目标
IRIS_PASSWORD
Dify Env: IRIS_DATABASEVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_DATABASE
默认值
USER
价值
USER
Dify Env: IRIS_SCHEMAVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_SCHEMA
默认值
dify
价值
dify
Dify Env: IRIS_CONNECTION_URLVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_CONNECTION_URL
Dify Env: IRIS_MIN_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_MIN_CONNECTION
默认值
1
价值
1
Dify Env: IRIS_MAX_CONNECTIONVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_MAX_CONNECTION
默认值
3
价值
3
Dify Env: IRIS_TEXT_INDEXVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_TEXT_INDEX
默认值
true|false
价值
true
Dify Env: IRIS_TEXT_INDEX_LANGUAGEVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_TEXT_INDEX_LANGUAGE
默认值
en
价值
en
Dify Env: IRIS_TIMEZONEVariable

Upstream Dify self-hosted environment variable.

目标
IRIS_TIMEZONE
默认值
UTC
价值
UTC
Dify Env: UPLOAD_FILE_SIZE_LIMITVariable

Upload file size limit, default 15M.

目标
UPLOAD_FILE_SIZE_LIMIT
默认值
15
价值
15
Dify Env: UPLOAD_FILE_BATCH_LIMITVariable

The maximum number of files that can be uploaded at a time, default 5.

目标
UPLOAD_FILE_BATCH_LIMIT
默认值
5
价值
5
Dify Env: UPLOAD_FILE_EXTENSION_BLACKLISTVariable

Comma-separated list of file extensions blocked from upload for security reasons. Extensions should be lowercase without dots (e.g., exe,bat,sh,dll). Empty by default to allow all file types. Recommended: exe,bat,cmd,com,scr,vbs,ps1,msi,dll

目标
UPLOAD_FILE_EXTENSION_BLACKLIST
Dify Env: ATTACHMENT_IMAGE_FILE_SIZE_LIMITVariable

Maximum allowed image file size for attachments in megabytes, default 2.

目标
ATTACHMENT_IMAGE_FILE_SIZE_LIMIT
默认值
2
价值
2
Dify Env: ATTACHMENT_IMAGE_DOWNLOAD_TIMEOUTVariable

Timeout for downloading image attachments in seconds, default 60.

目标
ATTACHMENT_IMAGE_DOWNLOAD_TIMEOUT
默认值
60
价值
60
Dify Env: ETL_TYPEVariable

ETL type, support: `dify`, `Unstructured` `dify` Dify's proprietary file extraction scheme `Unstructured` Unstructured.io file extraction scheme

目标
ETL_TYPE
默认值
dify|Unstructured
价值
dify
Dify Env: UNSTRUCTURED_API_URLVariable

Unstructured API path and API key, needs to be configured when ETL_TYPE is Unstructured Or using Unstructured for document extractor node for pptx. For example: http://unstructured:8000/general/v0/general

目标
UNSTRUCTURED_API_URL
Dify Env: UNSTRUCTURED_API_KEYVariable

Upstream Dify self-hosted environment variable.

目标
UNSTRUCTURED_API_KEY
Dify Env: PROMPT_GENERATION_MAX_TOKENSVariable

The maximum number of tokens allowed for prompt generation. This setting controls the upper limit of tokens that can be used by the LLM when generating a prompt in the prompt generation tool. Default: 512 tokens.

目标
PROMPT_GENERATION_MAX_TOKENS
默认值
512
价值
512
Dify Env: CODE_GENERATION_MAX_TOKENSVariable

The maximum number of tokens allowed for code generation. This setting controls the upper limit of tokens that can be used by the LLM when generating code in the code generation tool. Default: 1024 tokens.

目标
CODE_GENERATION_MAX_TOKENS
默认值
1024
价值
1024
Dify Env: MULTIMODAL_SEND_FORMATVariable

The format of the image/video/audio/document sent when the multi-modal model is input, the default is base64, optional url. The delay of the call in url mode will be lower than that in base64 mode. It is generally recommended to use the more compatible base64 mode. If...

目标
MULTIMODAL_SEND_FORMAT
默认值
base64
价值
base64
Dify Env: UPLOAD_IMAGE_FILE_SIZE_LIMITVariable

Upload image file size limit, default 10M.

目标
UPLOAD_IMAGE_FILE_SIZE_LIMIT
默认值
10
价值
10
Dify Env: UPLOAD_VIDEO_FILE_SIZE_LIMITVariable

Upload video file size limit, default 100M.

目标
UPLOAD_VIDEO_FILE_SIZE_LIMIT
默认值
100
价值
100
Dify Env: UPLOAD_AUDIO_FILE_SIZE_LIMITVariable

Upload audio file size limit, default 50M.

目标
UPLOAD_AUDIO_FILE_SIZE_LIMIT
默认值
50
价值
50
Dify Env: SENTRY_DSNVariable

Sentry Configuration Used for application monitoring and error log tracking.

目标
SENTRY_DSN
Dify Env: PLUGIN_SENTRY_ENABLEDVariable

Plugin_daemon Service Sentry DSN address, default is empty, when empty, all monitoring information is not reported to Sentry. If not set, Sentry error reporting will be disabled.

目标
PLUGIN_SENTRY_ENABLED
默认值
false|true
价值
false
Dify Env: PLUGIN_SENTRY_DSNVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_SENTRY_DSN
Dify Env: NOTION_INTEGRATION_TYPEVariable

Configure as "public" or "internal". Since Notion's OAuth redirect URL only supports HTTPS, if deploying locally, please use Notion's internal integration.

目标
NOTION_INTEGRATION_TYPE
默认值
public
价值
public
Dify Env: NOTION_CLIENT_SECRETVariable

Notion OAuth client secret (used for public integration type)

目标
NOTION_CLIENT_SECRET
Dify Env: NOTION_CLIENT_IDVariable

Notion OAuth client id (used for public integration type)

目标
NOTION_CLIENT_ID
Dify Env: NOTION_INTERNAL_SECRETVariable

Notion internal integration secret. If the value of NOTION_INTEGRATION_TYPE is "internal", you need to configure this variable.

目标
NOTION_INTERNAL_SECRET
Dify Env: RESEND_API_URLVariable

API-Key for the Resend email provider, used when MAIL_TYPE is `resend`. Official default: 'https://api.resend.com'.

目标
RESEND_API_URL
Dify Env: SMTP_USE_TLSVariable

Upstream Dify self-hosted environment variable.

目标
SMTP_USE_TLS
默认值
true|false
价值
true
Dify Env: SMTP_OPPORTUNISTIC_TLSVariable

Upstream Dify self-hosted environment variable.

目标
SMTP_OPPORTUNISTIC_TLS
默认值
false|true
价值
false
Dify Env: SMTP_LOCAL_HOSTNAMEVariable

Optional: override the local hostname used for SMTP HELO/EHLO

目标
SMTP_LOCAL_HOSTNAME
Dify Env: INDEXING_MAX_SEGMENTATION_TOKENS_LENGTHVariable

Maximum length of segmentation tokens for indexing

目标
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH
默认值
4000
价值
4000
Dify Env: INVITE_EXPIRY_HOURSVariable

Member invitation link valid time (hours), Default: 72.

目标
INVITE_EXPIRY_HOURS
默认值
72
价值
72
Dify Env: RESET_PASSWORD_TOKEN_EXPIRY_MINUTESVariable

Reset password token valid time (minutes),

目标
RESET_PASSWORD_TOKEN_EXPIRY_MINUTES
默认值
5
价值
5
Dify Env: EMAIL_REGISTER_TOKEN_EXPIRY_MINUTESVariable

Upstream Dify self-hosted environment variable.

目标
EMAIL_REGISTER_TOKEN_EXPIRY_MINUTES
默认值
5
价值
5
Dify Env: CHANGE_EMAIL_TOKEN_EXPIRY_MINUTESVariable

Upstream Dify self-hosted environment variable.

目标
CHANGE_EMAIL_TOKEN_EXPIRY_MINUTES
默认值
5
价值
5
Dify Env: OWNER_TRANSFER_TOKEN_EXPIRY_MINUTESVariable

Upstream Dify self-hosted environment variable.

目标
OWNER_TRANSFER_TOKEN_EXPIRY_MINUTES
默认值
5
价值
5
Dify Env: CODE_EXECUTION_SSL_VERIFYVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_SSL_VERIFY
默认值
True|False
价值
True
Dify Env: CODE_EXECUTION_POOL_MAX_CONNECTIONSVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_POOL_MAX_CONNECTIONS
默认值
100
价值
100
Dify Env: CODE_EXECUTION_POOL_MAX_KEEPALIVE_CONNECTIONSVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_POOL_MAX_KEEPALIVE_CONNECTIONS
默认值
20
价值
20
Dify Env: CODE_EXECUTION_POOL_KEEPALIVE_EXPIRYVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_POOL_KEEPALIVE_EXPIRY
默认值
5.0
价值
5.0
Dify Env: CODE_EXECUTION_CONNECT_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_CONNECT_TIMEOUT
默认值
10
价值
10
Dify Env: CODE_EXECUTION_READ_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_READ_TIMEOUT
默认值
60
价值
60
Dify Env: CODE_EXECUTION_WRITE_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
CODE_EXECUTION_WRITE_TIMEOUT
默认值
10
价值
10
Dify Env: WORKFLOW_MAX_EXECUTION_STEPSVariable

Workflow runtime configuration

目标
WORKFLOW_MAX_EXECUTION_STEPS
默认值
500
价值
500
Dify Env: WORKFLOW_MAX_EXECUTION_TIMEVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_MAX_EXECUTION_TIME
默认值
1200
价值
1200
Dify Env: WORKFLOW_CALL_MAX_DEPTHVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_CALL_MAX_DEPTH
默认值
5
价值
5
Dify Env: WORKFLOW_FILE_UPLOAD_LIMITVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_FILE_UPLOAD_LIMIT
默认值
10
价值
10
Dify Env: WORKFLOW_LOG_CLEANUP_ENABLEDVariable

Workflow log cleanup configuration Enable automatic cleanup of workflow run logs to manage database size

目标
WORKFLOW_LOG_CLEANUP_ENABLED
默认值
false|true
价值
false
Dify Env: WORKFLOW_LOG_RETENTION_DAYSVariable

Number of days to retain workflow run logs (default: 30 days)

目标
WORKFLOW_LOG_RETENTION_DAYS
默认值
30
价值
30
Dify Env: WORKFLOW_LOG_CLEANUP_BATCH_SIZEVariable

Batch size for workflow log cleanup operations (default: 100)

目标
WORKFLOW_LOG_CLEANUP_BATCH_SIZE
默认值
100
价值
100
Dify Env: WORKFLOW_LOG_CLEANUP_SPECIFIC_WORKFLOW_IDSVariable

Comma-separated list of workflow IDs to clean logs for

目标
WORKFLOW_LOG_CLEANUP_SPECIFIC_WORKFLOW_IDS
Dify Env: LOGSTORE_DUAL_WRITE_ENABLEDVariable

Enable dual-write to both SLS LogStore and SQL database (default: false)

目标
LOGSTORE_DUAL_WRITE_ENABLED
默认值
false|true
价值
false
Dify Env: LOGSTORE_DUAL_READ_ENABLEDVariable

Enable dual-read fallback to SQL database when LogStore returns no results (default: true) Useful for migration scenarios where historical data exists only in SQL database

目标
LOGSTORE_DUAL_READ_ENABLED
默认值
true|false
价值
true
Dify Env: LOGSTORE_ENABLE_PUT_GRAPH_FIELDVariable

Control flag for whether to write the `graph` field to LogStore. If LOGSTORE_ENABLE_PUT_GRAPH_FIELD is "true", write the full `graph` field; otherwise write an empty {} instead. Defaults to writing the `graph` field.

目标
LOGSTORE_ENABLE_PUT_GRAPH_FIELD
默认值
true|false
价值
true
Dify Env: HTTP_REQUEST_NODE_MAX_BINARY_SIZEVariable

HTTP request node in workflow configuration

目标
HTTP_REQUEST_NODE_MAX_BINARY_SIZE
默认值
10485760
价值
10485760
Dify Env: HTTP_REQUEST_NODE_MAX_TEXT_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
HTTP_REQUEST_NODE_MAX_TEXT_SIZE
默认值
1048576
价值
1048576
Dify Env: HTTP_REQUEST_NODE_SSL_VERIFYVariable

Upstream Dify self-hosted environment variable.

目标
HTTP_REQUEST_NODE_SSL_VERIFY
默认值
True|False
价值
True
Dify Env: HTTP_REQUEST_MAX_CONNECT_TIMEOUTVariable

HTTP request node timeout configuration Maximum timeout values (in seconds) that users can set in HTTP request nodes - Connect timeout: Time to wait for establishing connection (default: 10s) - Read timeout: Time to wait for receiving response data (default: 600s, 10 minutes)...

目标
HTTP_REQUEST_MAX_CONNECT_TIMEOUT
默认值
10
价值
10
Dify Env: HTTP_REQUEST_MAX_READ_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
HTTP_REQUEST_MAX_READ_TIMEOUT
默认值
600
价值
600
Dify Env: HTTP_REQUEST_MAX_WRITE_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
HTTP_REQUEST_MAX_WRITE_TIMEOUT
默认值
600
价值
600
Dify Env: TEXT_GENERATION_TIMEOUT_MSVariable

The timeout for the text generation in millisecond

目标
TEXT_GENERATION_TIMEOUT_MS
默认值
60000
价值
60000
Dify Env: ALLOW_INLINE_STYLESVariable

Allow inline style attributes in Markdown rendering. Enable this if your workflows use Jinja2 templates with styled HTML. Only recommended for self-hosted deployments with trusted content.

目标
ALLOW_INLINE_STYLES
默认值
false|true
价值
false
Dify Env: ALLOW_UNSAFE_DATA_SCHEMEVariable

Allow rendering unsafe URLs which have "data:" scheme.

目标
ALLOW_UNSAFE_DATA_SCHEME
默认值
false|true
价值
false
Dify Env: SANDBOX_GIN_MODEVariable

The mode in which the Gin framework runs

目标
SANDBOX_GIN_MODE
默认值
release
价值
release
Dify Env: ORACLE_PWDVariable

Environment Variables for Oracle Service (only used when VECTOR_STORE is oracle)

目标
ORACLE_PWD
默认值
Dify123456
价值
Dify123456
Dify Env: ORACLE_CHARACTERSETVariable

Upstream Dify self-hosted environment variable.

目标
ORACLE_CHARACTERSET
默认值
AL32UTF8
价值
AL32UTF8
Dify Env: MILVUS_AUTHORIZATION_ENABLEDVariable

Enable or disable security authorization

目标
MILVUS_AUTHORIZATION_ENABLED
默认值
true|false
价值
true
Dify Env: SSRF_HTTP_PORTVariable

Environment Variables for SSRF Proxy

目标
SSRF_HTTP_PORT
默认值
3128
价值
3128
Dify Env: SSRF_DEFAULT_TIME_OUTVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_DEFAULT_TIME_OUT
默认值
5
价值
5
Dify Env: SSRF_DEFAULT_CONNECT_TIME_OUTVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_DEFAULT_CONNECT_TIME_OUT
默认值
5
价值
5
Dify Env: SSRF_DEFAULT_READ_TIME_OUTVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_DEFAULT_READ_TIME_OUT
默认值
5
价值
5
Dify Env: SSRF_DEFAULT_WRITE_TIME_OUTVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_DEFAULT_WRITE_TIME_OUT
默认值
5
价值
5
Dify Env: SSRF_POOL_MAX_CONNECTIONSVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_POOL_MAX_CONNECTIONS
默认值
100
价值
100
Dify Env: SSRF_POOL_MAX_KEEPALIVE_CONNECTIONSVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_POOL_MAX_KEEPALIVE_CONNECTIONS
默认值
20
价值
20
Dify Env: SSRF_POOL_KEEPALIVE_EXPIRYVariable

Upstream Dify self-hosted environment variable.

目标
SSRF_POOL_KEEPALIVE_EXPIRY
默认值
5.0
价值
5.0
Dify Env: POSITION_TOOL_PINSVariable

Pin, include, and exclude tools Use comma-separated values with no spaces between items. Example: POSITION_TOOL_PINS=bing,google

目标
POSITION_TOOL_PINS
Dify Env: POSITION_TOOL_INCLUDESVariable

Upstream Dify self-hosted environment variable.

目标
POSITION_TOOL_INCLUDES
Dify Env: POSITION_TOOL_EXCLUDESVariable

Upstream Dify self-hosted environment variable.

目标
POSITION_TOOL_EXCLUDES
Dify Env: POSITION_PROVIDER_PINSVariable

Pin, include, and exclude model providers Use comma-separated values with no spaces between items. Example: POSITION_PROVIDER_PINS=openai,openllm

目标
POSITION_PROVIDER_PINS
Dify Env: POSITION_PROVIDER_INCLUDESVariable

Upstream Dify self-hosted environment variable.

目标
POSITION_PROVIDER_INCLUDES
Dify Env: POSITION_PROVIDER_EXCLUDESVariable

Upstream Dify self-hosted environment variable.

目标
POSITION_PROVIDER_EXCLUDES
Dify Env: CSP_WHITELISTVariable

CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

目标
CSP_WHITELIST
Dify Env: PLUGIN_STORAGE_TYPEVariable

https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example Plugin storage type, local aws_s3 tencent_cos azure_blob aliyun_oss volcengine_tos

目标
PLUGIN_STORAGE_TYPE
默认值
local|aws_s3|tencent_cos|azure_blob|aliyun_oss|volcengine_tos
价值
local
Dify Env: PLUGIN_STORAGE_OSS_BUCKETVariable

Plugin oss bucket

目标
PLUGIN_STORAGE_OSS_BUCKET
Dify Env: PLUGIN_S3_USE_AWSVariable

Plugin oss s3 credentials

目标
PLUGIN_S3_USE_AWS
默认值
false|true
价值
false
Dify Env: PLUGIN_S3_USE_AWS_MANAGED_IAMVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_S3_USE_AWS_MANAGED_IAM
默认值
false|true
价值
false
Dify Env: PLUGIN_S3_ENDPOINTVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_S3_ENDPOINT
Dify Env: PLUGIN_S3_USE_PATH_STYLEVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_S3_USE_PATH_STYLE
默认值
false|true
价值
false
Dify Env: PLUGIN_AWS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_AWS_ACCESS_KEY
Dify Env: PLUGIN_AWS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_AWS_SECRET_KEY
Dify Env: PLUGIN_AWS_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_AWS_REGION
Dify Env: PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAMEVariable

Plugin oss azure blob

目标
PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME
Dify Env: PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRINGVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING
Dify Env: PLUGIN_TENCENT_COS_SECRET_KEYVariable

Plugin oss tencent cos

目标
PLUGIN_TENCENT_COS_SECRET_KEY
Dify Env: PLUGIN_TENCENT_COS_SECRET_IDVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_TENCENT_COS_SECRET_ID
Dify Env: PLUGIN_TENCENT_COS_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_TENCENT_COS_REGION
Dify Env: PLUGIN_ALIYUN_OSS_REGIONVariable

Plugin oss aliyun oss

目标
PLUGIN_ALIYUN_OSS_REGION
Dify Env: PLUGIN_ALIYUN_OSS_ENDPOINTVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_ALIYUN_OSS_ENDPOINT
Dify Env: PLUGIN_ALIYUN_OSS_ACCESS_KEY_IDVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_ALIYUN_OSS_ACCESS_KEY_ID
Dify Env: PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRETVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRET
Dify Env: PLUGIN_ALIYUN_OSS_AUTH_VERSIONVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_ALIYUN_OSS_AUTH_VERSION
默认值
v4
价值
v4
Dify Env: PLUGIN_ALIYUN_OSS_PATHVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_ALIYUN_OSS_PATH
Dify Env: PLUGIN_VOLCENGINE_TOS_ENDPOINTVariable

Plugin oss volcengine tos

目标
PLUGIN_VOLCENGINE_TOS_ENDPOINT
Dify Env: PLUGIN_VOLCENGINE_TOS_ACCESS_KEYVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_VOLCENGINE_TOS_ACCESS_KEY
Dify Env: PLUGIN_VOLCENGINE_TOS_SECRET_KEYVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_VOLCENGINE_TOS_SECRET_KEY
Dify Env: PLUGIN_VOLCENGINE_TOS_REGIONVariable

Upstream Dify self-hosted environment variable.

目标
PLUGIN_VOLCENGINE_TOS_REGION
Dify Env: OTEL_EXPORTER_OTLP_PROTOCOLVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_EXPORTER_OTLP_PROTOCOL
Dify Env: OTEL_EXPORTER_TYPEVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_EXPORTER_TYPE
默认值
otlp
价值
otlp
Dify Env: OTEL_SAMPLING_RATEVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_SAMPLING_RATE
默认值
0.1
价值
0.1
Dify Env: OTEL_BATCH_EXPORT_SCHEDULE_DELAYVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_BATCH_EXPORT_SCHEDULE_DELAY
默认值
5000
价值
5000
Dify Env: OTEL_MAX_QUEUE_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_MAX_QUEUE_SIZE
默认值
2048
价值
2048
Dify Env: OTEL_MAX_EXPORT_BATCH_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_MAX_EXPORT_BATCH_SIZE
默认值
512
价值
512
Dify Env: OTEL_METRIC_EXPORT_INTERVALVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_METRIC_EXPORT_INTERVAL
默认值
60000
价值
60000
Dify Env: OTEL_BATCH_EXPORT_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_BATCH_EXPORT_TIMEOUT
默认值
10000
价值
10000
Dify Env: OTEL_METRIC_EXPORT_TIMEOUTVariable

Upstream Dify self-hosted environment variable.

目标
OTEL_METRIC_EXPORT_TIMEOUT
默认值
30000
价值
30000
Dify Env: ALLOW_EMBEDVariable

Prevent Clickjacking

目标
ALLOW_EMBED
默认值
false|true
价值
false
Dify Env: DATASET_MAX_SEGMENTS_PER_REQUESTVariable

Maximum number of segments for dataset segments API (0 for unlimited)

目标
DATASET_MAX_SEGMENTS_PER_REQUEST
默认值
0
价值
0
Dify Env: ENABLE_CLEAN_EMBEDDING_CACHE_TASKVariable

Celery schedule tasks configuration

目标
ENABLE_CLEAN_EMBEDDING_CACHE_TASK
默认值
false|true
价值
false
Dify Env: ENABLE_CLEAN_UNUSED_DATASETS_TASKVariable

Upstream Dify self-hosted environment variable.

目标
ENABLE_CLEAN_UNUSED_DATASETS_TASK
默认值
false|true
价值
false
Dify Env: ENABLE_CLEAN_MESSAGESVariable

Upstream Dify self-hosted environment variable.

目标
ENABLE_CLEAN_MESSAGES
默认值
false|true
价值
false
Dify Env: ENABLE_WORKFLOW_RUN_CLEANUP_TASKVariable

Upstream Dify self-hosted environment variable.

目标
ENABLE_WORKFLOW_RUN_CLEANUP_TASK
默认值
false|true
价值
false
Dify Env: ENABLE_MAIL_CLEAN_DOCUMENT_NOTIFY_TASKVariable

Upstream Dify self-hosted environment variable.

目标
ENABLE_MAIL_CLEAN_DOCUMENT_NOTIFY_TASK
默认值
false|true
价值
false
Dify Env: ENABLE_WORKFLOW_SCHEDULE_POLLER_TASKVariable

Upstream Dify self-hosted environment variable.

目标
ENABLE_WORKFLOW_SCHEDULE_POLLER_TASK
默认值
true|false
价值
true
Dify Env: WORKFLOW_SCHEDULE_POLLER_INTERVALVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_SCHEDULE_POLLER_INTERVAL
默认值
1
价值
1
Dify Env: WORKFLOW_SCHEDULE_POLLER_BATCH_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_SCHEDULE_POLLER_BATCH_SIZE
默认值
100
价值
100
Dify Env: WORKFLOW_SCHEDULE_MAX_DISPATCH_PER_TICKVariable

Upstream Dify self-hosted environment variable.

目标
WORKFLOW_SCHEDULE_MAX_DISPATCH_PER_TICK
默认值
0
价值
0
Dify Env: SANDBOX_EXPIRED_RECORDS_CLEAN_GRACEFUL_PERIODVariable

Sandbox expired records clean configuration

目标
SANDBOX_EXPIRED_RECORDS_CLEAN_GRACEFUL_PERIOD
默认值
21
价值
21
Dify Env: SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_SIZEVariable

Upstream Dify self-hosted environment variable.

目标
SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_SIZE
默认值
1000
价值
1000
Dify Env: SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_MAX_INTERVALVariable

Upstream Dify self-hosted environment variable.

目标
SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_MAX_INTERVAL
默认值
200
价值
200
Dify Env: SANDBOX_EXPIRED_RECORDS_RETENTION_DAYSVariable

Upstream Dify self-hosted environment variable.

目标
SANDBOX_EXPIRED_RECORDS_RETENTION_DAYS
默认值
30
价值
30
Dify Env: ENABLE_HUMAN_INPUT_TIMEOUT_TASKVariable

Whether to Enable human input timeout check task

目标
ENABLE_HUMAN_INPUT_TIMEOUT_TASK
默认值
true|false
价值
true
Dify Env: HUMAN_INPUT_TIMEOUT_TASK_INTERVALVariable

Human input timeout check interval in minutes

目标
HUMAN_INPUT_TIMEOUT_TASK_INTERVAL
默认值
1
价值
1
Dify Env: SANDBOX_EXPIRED_RECORDS_CLEAN_TASK_LOCK_TTLVariable

Upstream Dify self-hosted environment variable.

目标
SANDBOX_EXPIRED_RECORDS_CLEAN_TASK_LOCK_TTL
默认值
90000
价值
90000

下载统计数据

2,748
下载总数

详细信息

存储库
jsonbored/dify-aio:latest
最后更新2026-05-26
初见2026-04-30

在Unraid 上运行 dify-aio 。

dify-aio 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。