2023-05-15 08:51:32 +08:00
|
|
|
# Your App secret key will be used for securely signing the session cookie
|
|
|
|
# Make sure you are changing this key for your deployment with a strong key.
|
|
|
|
# You can generate a strong key using `openssl rand -base64 42`.
|
|
|
|
# Alternatively you can set it with `SECRET_KEY` environment variable.
|
|
|
|
SECRET_KEY=
|
|
|
|
|
|
|
|
# Console API base URL
|
2023-07-14 11:19:26 +08:00
|
|
|
CONSOLE_API_URL=http://127.0.0.1:5001
|
|
|
|
CONSOLE_WEB_URL=http://127.0.0.1:3000
|
2023-05-15 08:51:32 +08:00
|
|
|
|
|
|
|
# Service API base URL
|
2023-07-14 11:19:26 +08:00
|
|
|
SERVICE_API_URL=http://127.0.0.1:5001
|
|
|
|
|
2023-08-13 17:32:23 +08:00
|
|
|
# Web APP base URL
|
2023-07-14 11:19:26 +08:00
|
|
|
APP_WEB_URL=http://127.0.0.1:3000
|
2023-05-15 08:51:32 +08:00
|
|
|
|
2023-11-13 22:05:46 +08:00
|
|
|
# Files URL
|
|
|
|
FILES_URL=http://127.0.0.1:5001
|
|
|
|
|
2024-05-27 22:20:49 +08:00
|
|
|
# The time in seconds after the signature is rejected
|
|
|
|
FILES_ACCESS_TIMEOUT=300
|
|
|
|
|
2024-10-12 23:46:30 +08:00
|
|
|
# Access token expiration time in minutes
|
|
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
# celery configuration
|
|
|
|
CELERY_BROKER_URL=redis://:difyai123456@localhost:6379/1
|
|
|
|
|
|
|
|
# redis configuration
|
|
|
|
REDIS_HOST=localhost
|
|
|
|
REDIS_PORT=6379
|
2023-06-19 22:14:47 +08:00
|
|
|
REDIS_USERNAME=
|
2023-05-15 08:51:32 +08:00
|
|
|
REDIS_PASSWORD=difyai123456
|
2024-10-25 17:16:07 +08:00
|
|
|
REDIS_USE_SSL=false
|
2023-05-15 08:51:32 +08:00
|
|
|
REDIS_DB=0
|
|
|
|
|
2024-10-25 17:16:07 +08:00
|
|
|
# redis Sentinel configuration.
|
|
|
|
REDIS_USE_SENTINEL=false
|
|
|
|
REDIS_SENTINELS=
|
|
|
|
REDIS_SENTINEL_SERVICE_NAME=
|
|
|
|
REDIS_SENTINEL_USERNAME=
|
|
|
|
REDIS_SENTINEL_PASSWORD=
|
|
|
|
REDIS_SENTINEL_SOCKET_TIMEOUT=0.1
|
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
# PostgreSQL database configuration
|
|
|
|
DB_USERNAME=postgres
|
|
|
|
DB_PASSWORD=difyai123456
|
|
|
|
DB_HOST=localhost
|
|
|
|
DB_PORT=5432
|
|
|
|
DB_DATABASE=dify
|
|
|
|
|
|
|
|
# Storage configuration
|
|
|
|
# use for store upload files, private keys...
|
2024-10-18 20:22:57 +08:00
|
|
|
# storage type: local, s3, aliyun-oss, azure-blob, baidu-obs, google-storage, huawei-obs, oci-storage, tencent-cos, volcengine-tos, supabase
|
2023-05-15 08:51:32 +08:00
|
|
|
STORAGE_TYPE=local
|
|
|
|
STORAGE_LOCAL_PATH=storage
|
2024-06-14 15:19:59 +08:00
|
|
|
S3_USE_AWS_MANAGED_IAM=false
|
2023-05-15 08:51:32 +08:00
|
|
|
S3_ENDPOINT=https://your-bucket-name.storage.s3.clooudflare.com
|
|
|
|
S3_BUCKET_NAME=your-bucket-name
|
|
|
|
S3_ACCESS_KEY=your-access-key
|
|
|
|
S3_SECRET_KEY=your-secret-key
|
|
|
|
S3_REGION=your-region
|
2024-03-20 20:49:58 +08:00
|
|
|
# Azure Blob Storage configuration
|
|
|
|
AZURE_BLOB_ACCOUNT_NAME=your-account-name
|
|
|
|
AZURE_BLOB_ACCOUNT_KEY=your-account-key
|
|
|
|
AZURE_BLOB_CONTAINER_NAME=yout-container-name
|
|
|
|
AZURE_BLOB_ACCOUNT_URL=https://<your_account_name>.blob.core.windows.net
|
2024-04-25 16:57:19 +08:00
|
|
|
# Aliyun oss Storage configuration
|
|
|
|
ALIYUN_OSS_BUCKET_NAME=your-bucket-name
|
|
|
|
ALIYUN_OSS_ACCESS_KEY=your-access-key
|
|
|
|
ALIYUN_OSS_SECRET_KEY=your-secret-key
|
|
|
|
ALIYUN_OSS_ENDPOINT=your-endpoint
|
2024-05-06 11:56:04 +08:00
|
|
|
ALIYUN_OSS_AUTH_VERSION=v1
|
|
|
|
ALIYUN_OSS_REGION=your-region
|
2024-09-01 21:30:17 +08:00
|
|
|
# Don't start with '/'. OSS doesn't support leading slash in object names.
|
|
|
|
ALIYUN_OSS_PATH=your-path
|
2024-04-27 18:26:52 +08:00
|
|
|
# Google Storage configuration
|
|
|
|
GOOGLE_STORAGE_BUCKET_NAME=yout-bucket-name
|
2024-06-26 07:54:22 +08:00
|
|
|
GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64=your-google-service-account-json-base64-string
|
2023-05-15 08:51:32 +08:00
|
|
|
|
2024-06-17 19:18:52 +08:00
|
|
|
# Tencent COS Storage configuration
|
|
|
|
TENCENT_COS_BUCKET_NAME=your-bucket-name
|
|
|
|
TENCENT_COS_SECRET_KEY=your-secret-key
|
|
|
|
TENCENT_COS_SECRET_ID=your-secret-id
|
|
|
|
TENCENT_COS_REGION=your-region
|
|
|
|
TENCENT_COS_SCHEME=your-scheme
|
|
|
|
|
2024-09-06 14:00:47 +08:00
|
|
|
# Huawei OBS Storage Configuration
|
|
|
|
HUAWEI_OBS_BUCKET_NAME=your-bucket-name
|
|
|
|
HUAWEI_OBS_SECRET_KEY=your-secret-key
|
|
|
|
HUAWEI_OBS_ACCESS_KEY=your-access-key
|
|
|
|
HUAWEI_OBS_SERVER=your-server-url
|
|
|
|
|
2024-10-07 11:09:27 +08:00
|
|
|
# Baidu OBS Storage Configuration
|
|
|
|
BAIDU_OBS_BUCKET_NAME=your-bucket-name
|
|
|
|
BAIDU_OBS_SECRET_KEY=your-secret-key
|
|
|
|
BAIDU_OBS_ACCESS_KEY=your-access-key
|
|
|
|
BAIDU_OBS_ENDPOINT=your-server-url
|
|
|
|
|
2024-07-01 17:21:44 +08:00
|
|
|
# OCI Storage configuration
|
|
|
|
OCI_ENDPOINT=your-endpoint
|
|
|
|
OCI_BUCKET_NAME=your-bucket-name
|
|
|
|
OCI_ACCESS_KEY=your-access-key
|
|
|
|
OCI_SECRET_KEY=your-secret-key
|
|
|
|
OCI_REGION=your-region
|
|
|
|
|
2024-09-10 09:19:47 +08:00
|
|
|
# Volcengine tos Storage configuration
|
|
|
|
VOLCENGINE_TOS_ENDPOINT=your-endpoint
|
|
|
|
VOLCENGINE_TOS_BUCKET_NAME=your-bucket-name
|
|
|
|
VOLCENGINE_TOS_ACCESS_KEY=your-access-key
|
|
|
|
VOLCENGINE_TOS_SECRET_KEY=your-secret-key
|
|
|
|
VOLCENGINE_TOS_REGION=your-region
|
|
|
|
|
2024-10-11 22:48:57 +08:00
|
|
|
# Supabase Storage Configuration
|
|
|
|
SUPABASE_BUCKET_NAME=your-bucket-name
|
|
|
|
SUPABASE_API_KEY=your-access-key
|
|
|
|
SUPABASE_URL=your-server-url
|
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
# CORS configuration
|
|
|
|
WEB_API_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
|
|
|
CONSOLE_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
|
|
|
|
2024-11-04 09:10:26 +08:00
|
|
|
|
|
|
|
# Vector database configuration, support: weaviate, qdrant, milvus, myscale, relyt, pgvecto_rs, pgvector, pgvector, chroma, opensearch, tidb_vector, couchbase, vikingdb, upstash, lindorm
|
2023-05-15 08:51:32 +08:00
|
|
|
VECTOR_STORE=weaviate
|
|
|
|
|
|
|
|
# Weaviate configuration
|
|
|
|
WEAVIATE_ENDPOINT=http://localhost:8080
|
|
|
|
WEAVIATE_API_KEY=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
|
|
WEAVIATE_GRPC_ENABLED=false
|
2023-06-13 14:49:40 +08:00
|
|
|
WEAVIATE_BATCH_SIZE=100
|
2023-05-15 08:51:32 +08:00
|
|
|
|
2023-10-09 01:04:04 +08:00
|
|
|
# Qdrant configuration, use `http://localhost:6333` for local mode or `https://your-qdrant-cluster-url.qdrant.io` for remote mode
|
|
|
|
QDRANT_URL=http://localhost:6333
|
|
|
|
QDRANT_API_KEY=difyai123456
|
2024-01-04 10:58:47 +08:00
|
|
|
QDRANT_CLIENT_TIMEOUT=20
|
2024-04-28 15:33:32 +08:00
|
|
|
QDRANT_GRPC_ENABLED=false
|
|
|
|
QDRANT_GRPC_PORT=6334
|
2023-05-15 08:51:32 +08:00
|
|
|
|
2024-10-29 15:00:23 +08:00
|
|
|
#Couchbase configuration
|
|
|
|
COUCHBASE_CONNECTION_STRING=127.0.0.1
|
|
|
|
COUCHBASE_USER=Administrator
|
|
|
|
COUCHBASE_PASSWORD=password
|
|
|
|
COUCHBASE_BUCKET_NAME=Embeddings
|
|
|
|
COUCHBASE_SCOPE_NAME=_default
|
|
|
|
|
2023-10-10 21:56:24 +08:00
|
|
|
# Milvus configuration
|
2024-09-06 17:32:48 +08:00
|
|
|
MILVUS_URI=http://127.0.0.1:19530
|
|
|
|
MILVUS_TOKEN=
|
2023-10-10 21:56:24 +08:00
|
|
|
MILVUS_USER=root
|
|
|
|
MILVUS_PASSWORD=Milvus
|
|
|
|
|
2024-07-11 15:21:59 +08:00
|
|
|
# MyScale configuration
|
|
|
|
MYSCALE_HOST=127.0.0.1
|
|
|
|
MYSCALE_PORT=8123
|
|
|
|
MYSCALE_USER=default
|
|
|
|
MYSCALE_PASSWORD=
|
|
|
|
MYSCALE_DATABASE=default
|
|
|
|
MYSCALE_FTS_PARAMS=
|
|
|
|
|
2024-04-15 11:52:34 +08:00
|
|
|
# Relyt configuration
|
|
|
|
RELYT_HOST=127.0.0.1
|
|
|
|
RELYT_PORT=5432
|
|
|
|
RELYT_USER=postgres
|
|
|
|
RELYT_PASSWORD=postgres
|
|
|
|
RELYT_DATABASE=postgres
|
|
|
|
|
2024-06-14 19:25:17 +08:00
|
|
|
# Tencent configuration
|
|
|
|
TENCENT_VECTOR_DB_URL=http://127.0.0.1
|
|
|
|
TENCENT_VECTOR_DB_API_KEY=dify
|
|
|
|
TENCENT_VECTOR_DB_TIMEOUT=30
|
|
|
|
TENCENT_VECTOR_DB_USERNAME=dify
|
|
|
|
TENCENT_VECTOR_DB_DATABASE=dify
|
|
|
|
TENCENT_VECTOR_DB_SHARD=1
|
|
|
|
TENCENT_VECTOR_DB_REPLICAS=2
|
|
|
|
|
2024-08-13 17:36:20 +08:00
|
|
|
# ElasticSearch configuration
|
|
|
|
ELASTICSEARCH_HOST=127.0.0.1
|
|
|
|
ELASTICSEARCH_PORT=9200
|
|
|
|
ELASTICSEARCH_USERNAME=elastic
|
|
|
|
ELASTICSEARCH_PASSWORD=elastic
|
|
|
|
|
2024-04-29 11:58:17 +08:00
|
|
|
# PGVECTO_RS configuration
|
|
|
|
PGVECTO_RS_HOST=localhost
|
|
|
|
PGVECTO_RS_PORT=5431
|
|
|
|
PGVECTO_RS_USER=postgres
|
|
|
|
PGVECTO_RS_PASSWORD=difyai123456
|
|
|
|
PGVECTO_RS_DATABASE=postgres
|
|
|
|
|
2024-05-10 17:20:30 +08:00
|
|
|
# PGVector configuration
|
|
|
|
PGVECTOR_HOST=127.0.0.1
|
|
|
|
PGVECTOR_PORT=5433
|
|
|
|
PGVECTOR_USER=postgres
|
|
|
|
PGVECTOR_PASSWORD=postgres
|
|
|
|
PGVECTOR_DATABASE=postgres
|
2024-09-27 18:16:20 +08:00
|
|
|
PGVECTOR_MIN_CONNECTION=1
|
|
|
|
PGVECTOR_MAX_CONNECTION=5
|
2024-05-10 17:20:30 +08:00
|
|
|
|
2024-06-05 18:19:53 +08:00
|
|
|
# Tidb Vector configuration
|
|
|
|
TIDB_VECTOR_HOST=xxx.eu-central-1.xxx.aws.tidbcloud.com
|
|
|
|
TIDB_VECTOR_PORT=4000
|
|
|
|
TIDB_VECTOR_USER=xxx.root
|
|
|
|
TIDB_VECTOR_PASSWORD=xxxxxx
|
|
|
|
TIDB_VECTOR_DATABASE=dify
|
|
|
|
|
2024-10-29 21:11:10 +08:00
|
|
|
# Tidb on qdrant configuration
|
|
|
|
TIDB_ON_QDRANT_URL=http://127.0.0.1
|
|
|
|
TIDB_ON_QDRANT_API_KEY=dify
|
|
|
|
TIDB_ON_QDRANT_CLIENT_TIMEOUT=20
|
|
|
|
TIDB_ON_QDRANT_GRPC_ENABLED=false
|
|
|
|
TIDB_ON_QDRANT_GRPC_PORT=6334
|
|
|
|
TIDB_PUBLIC_KEY=dify
|
|
|
|
TIDB_PRIVATE_KEY=dify
|
|
|
|
TIDB_API_URL=http://127.0.0.1
|
|
|
|
TIDB_IAM_API_URL=http://127.0.0.1
|
|
|
|
TIDB_REGION=regions/aws-us-east-1
|
|
|
|
TIDB_PROJECT_ID=dify
|
|
|
|
TIDB_SPEND_LIMIT=100
|
|
|
|
|
2024-06-13 18:02:18 +08:00
|
|
|
# Chroma configuration
|
|
|
|
CHROMA_HOST=127.0.0.1
|
|
|
|
CHROMA_PORT=8000
|
|
|
|
CHROMA_TENANT=default_tenant
|
|
|
|
CHROMA_DATABASE=default_database
|
|
|
|
CHROMA_AUTH_PROVIDER=chromadb.auth.token_authn.TokenAuthenticationServerProvider
|
|
|
|
CHROMA_AUTH_CREDENTIALS=difyai123456
|
|
|
|
|
2024-07-09 13:32:04 +08:00
|
|
|
# AnalyticDB configuration
|
|
|
|
ANALYTICDB_KEY_ID=your-ak
|
|
|
|
ANALYTICDB_KEY_SECRET=your-sk
|
|
|
|
ANALYTICDB_REGION_ID=cn-hangzhou
|
|
|
|
ANALYTICDB_INSTANCE_ID=gp-ab123456
|
|
|
|
ANALYTICDB_ACCOUNT=testaccount
|
|
|
|
ANALYTICDB_PASSWORD=testpassword
|
|
|
|
ANALYTICDB_NAMESPACE=dify
|
|
|
|
ANALYTICDB_NAMESPACE_PASSWORD=difypassword
|
|
|
|
|
2024-06-24 14:33:31 +08:00
|
|
|
# OpenSearch configuration
|
|
|
|
OPENSEARCH_HOST=127.0.0.1
|
|
|
|
OPENSEARCH_PORT=9200
|
|
|
|
OPENSEARCH_USER=admin
|
|
|
|
OPENSEARCH_PASSWORD=admin
|
|
|
|
OPENSEARCH_SECURE=true
|
|
|
|
|
2024-10-12 23:24:17 +08:00
|
|
|
# Baidu configuration
|
|
|
|
BAIDU_VECTOR_DB_ENDPOINT=http://127.0.0.1:5287
|
|
|
|
BAIDU_VECTOR_DB_CONNECTION_TIMEOUT_MS=30000
|
|
|
|
BAIDU_VECTOR_DB_ACCOUNT=root
|
|
|
|
BAIDU_VECTOR_DB_API_KEY=dify
|
|
|
|
BAIDU_VECTOR_DB_DATABASE=dify
|
|
|
|
BAIDU_VECTOR_DB_SHARD=1
|
|
|
|
BAIDU_VECTOR_DB_REPLICAS=3
|
|
|
|
|
2024-10-23 09:16:35 +08:00
|
|
|
# Upstash configuration
|
|
|
|
UPSTASH_VECTOR_URL=your-server-url
|
|
|
|
UPSTASH_VECTOR_TOKEN=your-access-token
|
|
|
|
|
2024-10-13 21:26:05 +08:00
|
|
|
# ViKingDB configuration
|
|
|
|
VIKINGDB_ACCESS_KEY=your-ak
|
|
|
|
VIKINGDB_SECRET_KEY=your-sk
|
|
|
|
VIKINGDB_REGION=cn-shanghai
|
|
|
|
VIKINGDB_HOST=api-vikingdb.xxx.volces.com
|
|
|
|
VIKINGDB_SCHEMA=http
|
|
|
|
VIKINGDB_CONNECTION_TIMEOUT=30
|
|
|
|
VIKINGDB_SOCKET_TIMEOUT=30
|
|
|
|
|
2024-11-04 09:10:26 +08:00
|
|
|
# Lindorm configuration
|
|
|
|
LINDORM_URL=http://ld-*******************-proxy-search-pub.lindorm.aliyuncs.com:30070
|
|
|
|
LINDORM_USERNAME=admin
|
|
|
|
LINDORM_PASSWORD=admin
|
|
|
|
|
2024-10-29 21:10:18 +08:00
|
|
|
# OceanBase Vector configuration
|
|
|
|
OCEANBASE_VECTOR_HOST=127.0.0.1
|
|
|
|
OCEANBASE_VECTOR_PORT=2881
|
|
|
|
OCEANBASE_VECTOR_USER=root@test
|
|
|
|
OCEANBASE_VECTOR_PASSWORD=
|
|
|
|
OCEANBASE_VECTOR_DATABASE=test
|
|
|
|
OCEANBASE_MEMORY_LIMIT=6G
|
|
|
|
|
2024-11-04 09:10:26 +08:00
|
|
|
|
2023-11-13 22:05:46 +08:00
|
|
|
# Upload configuration
|
|
|
|
UPLOAD_FILE_SIZE_LIMIT=15
|
|
|
|
UPLOAD_FILE_BATCH_LIMIT=5
|
|
|
|
UPLOAD_IMAGE_FILE_SIZE_LIMIT=10
|
2024-10-21 10:43:49 +08:00
|
|
|
UPLOAD_VIDEO_FILE_SIZE_LIMIT=100
|
|
|
|
UPLOAD_AUDIO_FILE_SIZE_LIMIT=50
|
2023-11-13 22:05:46 +08:00
|
|
|
|
|
|
|
# Model Configuration
|
|
|
|
MULTIMODAL_SEND_IMAGE_FORMAT=base64
|
2024-07-26 10:20:23 +08:00
|
|
|
PROMPT_GENERATION_MAX_TOKENS=512
|
2024-10-22 21:57:54 +08:00
|
|
|
CODE_GENERATION_MAX_TOKENS=1024
|
2023-11-13 22:05:46 +08:00
|
|
|
|
2024-02-07 18:08:41 +08:00
|
|
|
# Mail configuration, support: resend, smtp
|
2024-02-29 17:29:48 +08:00
|
|
|
MAIL_TYPE=
|
2023-07-14 11:19:26 +08:00
|
|
|
MAIL_DEFAULT_SEND_FROM=no-reply <no-reply@dify.ai>
|
|
|
|
RESEND_API_KEY=
|
2024-01-10 18:15:02 +08:00
|
|
|
RESEND_API_URL=https://api.resend.com
|
2024-02-07 18:08:41 +08:00
|
|
|
# smtp configuration
|
|
|
|
SMTP_SERVER=smtp.gmail.com
|
2024-05-30 18:56:46 +08:00
|
|
|
SMTP_PORT=465
|
2024-02-07 18:08:41 +08:00
|
|
|
SMTP_USERNAME=123
|
|
|
|
SMTP_PASSWORD=abc
|
2024-05-30 18:56:46 +08:00
|
|
|
SMTP_USE_TLS=true
|
|
|
|
SMTP_OPPORTUNISTIC_TLS=false
|
2023-07-14 11:19:26 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
# Sentry configuration
|
|
|
|
SENTRY_DSN=
|
|
|
|
|
|
|
|
# DEBUG
|
|
|
|
DEBUG=false
|
|
|
|
SQLALCHEMY_ECHO=false
|
2023-06-19 16:32:03 +08:00
|
|
|
|
|
|
|
# Notion import configuration, support public and internal
|
|
|
|
NOTION_INTEGRATION_TYPE=public
|
|
|
|
NOTION_CLIENT_SECRET=you-client-secret
|
|
|
|
NOTION_CLIENT_ID=you-client-id
|
2023-06-19 22:14:47 +08:00
|
|
|
NOTION_INTERNAL_SECRET=you-internal-secret
|
2023-08-12 00:57:00 +08:00
|
|
|
|
2023-12-18 23:24:06 +08:00
|
|
|
ETL_TYPE=dify
|
2024-02-05 18:48:30 +08:00
|
|
|
UNSTRUCTURED_API_URL=
|
2024-05-20 13:14:17 +08:00
|
|
|
UNSTRUCTURED_API_KEY=
|
2024-02-05 18:48:30 +08:00
|
|
|
|
|
|
|
SSRF_PROXY_HTTP_URL=
|
|
|
|
SSRF_PROXY_HTTPS_URL=
|
2024-07-25 13:10:39 +08:00
|
|
|
SSRF_DEFAULT_MAX_RETRIES=3
|
2024-02-22 17:16:22 +08:00
|
|
|
|
2024-02-29 17:29:48 +08:00
|
|
|
BATCH_UPLOAD_LIMIT=10
|
2024-04-08 18:51:46 +08:00
|
|
|
KEYWORD_DATA_SOURCE_TYPE=database
|
|
|
|
|
2024-11-04 15:55:34 +08:00
|
|
|
# Workflow file upload limit
|
|
|
|
WORKFLOW_FILE_UPLOAD_LIMIT=10
|
|
|
|
|
2024-04-08 18:51:46 +08:00
|
|
|
# CODE EXECUTION CONFIGURATION
|
|
|
|
CODE_EXECUTION_ENDPOINT=http://127.0.0.1:8194
|
|
|
|
CODE_EXECUTION_API_KEY=dify-sandbox
|
|
|
|
CODE_MAX_NUMBER=9223372036854775807
|
|
|
|
CODE_MIN_NUMBER=-9223372036854775808
|
|
|
|
CODE_MAX_STRING_LENGTH=80000
|
|
|
|
TEMPLATE_TRANSFORM_MAX_LENGTH=80000
|
|
|
|
CODE_MAX_STRING_ARRAY_LENGTH=30
|
|
|
|
CODE_MAX_OBJECT_ARRAY_LENGTH=30
|
|
|
|
CODE_MAX_NUMBER_ARRAY_LENGTH=1000
|
2024-04-12 17:46:39 +08:00
|
|
|
|
|
|
|
# API Tool configuration
|
|
|
|
API_TOOL_DEFAULT_CONNECT_TIMEOUT=10
|
|
|
|
API_TOOL_DEFAULT_READ_TIMEOUT=60
|
2024-04-24 21:55:14 +08:00
|
|
|
|
2024-04-29 13:59:07 +08:00
|
|
|
# HTTP Node configuration
|
|
|
|
HTTP_REQUEST_MAX_CONNECT_TIMEOUT=300
|
|
|
|
HTTP_REQUEST_MAX_READ_TIMEOUT=600
|
|
|
|
HTTP_REQUEST_MAX_WRITE_TIMEOUT=600
|
2024-08-21 20:25:45 +08:00
|
|
|
HTTP_REQUEST_NODE_MAX_BINARY_SIZE=10485760
|
|
|
|
HTTP_REQUEST_NODE_MAX_TEXT_SIZE=1048576
|
2024-04-29 13:59:07 +08:00
|
|
|
|
2024-10-09 14:42:30 +08:00
|
|
|
# Respect X-* headers to redirect clients
|
|
|
|
RESPECT_XFORWARD_HEADERS_ENABLED=false
|
|
|
|
|
2024-04-24 21:55:14 +08:00
|
|
|
# Log file path
|
2024-04-28 15:33:32 +08:00
|
|
|
LOG_FILE=
|
2024-10-23 17:24:36 +08:00
|
|
|
# Log file max size, the unit is MB
|
|
|
|
LOG_FILE_MAX_SIZE=20
|
|
|
|
# Log file max backup count
|
|
|
|
LOG_FILE_BACKUP_COUNT=5
|
2024-05-20 13:20:27 +08:00
|
|
|
|
|
|
|
# Indexing configuration
|
|
|
|
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=1000
|
2024-05-29 13:39:11 +08:00
|
|
|
|
|
|
|
# Workflow runtime configuration
|
2024-05-31 15:16:35 +08:00
|
|
|
WORKFLOW_MAX_EXECUTION_STEPS=500
|
|
|
|
WORKFLOW_MAX_EXECUTION_TIME=1200
|
2024-05-29 13:39:11 +08:00
|
|
|
WORKFLOW_CALL_MAX_DEPTH=5
|
2024-10-21 10:43:49 +08:00
|
|
|
MAX_VARIABLE_SIZE=204800
|
2024-06-13 23:08:05 +08:00
|
|
|
|
|
|
|
# App configuration
|
2024-06-15 02:46:02 +08:00
|
|
|
APP_MAX_EXECUTION_TIME=1200
|
2024-07-10 21:31:35 +08:00
|
|
|
APP_MAX_ACTIVE_REQUESTS=0
|
2024-07-17 02:31:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Celery beat configuration
|
2024-08-21 11:16:43 +08:00
|
|
|
CELERY_BEAT_SCHEDULER_TIME=1
|
|
|
|
|
|
|
|
# Position configuration
|
|
|
|
POSITION_TOOL_PINS=
|
|
|
|
POSITION_TOOL_INCLUDES=
|
|
|
|
POSITION_TOOL_EXCLUDES=
|
|
|
|
|
|
|
|
POSITION_PROVIDER_PINS=
|
|
|
|
POSITION_PROVIDER_INCLUDES=
|
2024-10-21 18:14:26 +08:00
|
|
|
POSITION_PROVIDER_EXCLUDES=
|
|
|
|
|
|
|
|
# Reset password token expiry minutes
|
|
|
|
RESET_PASSWORD_TOKEN_EXPIRY_MINUTES=5
|