iamt 1.1.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- iamt/__init__.py +67 -0
- iamt/__main__.py +5 -0
- iamt/client_config/client_config.py +354 -0
- iamt/completers/customCompleter.py +143 -0
- iamt/composes/5425CICD/gitea/.rdm.md +4 -0
- iamt/composes/5425CICD/gitea/docker-compose.yml +52 -0
- iamt/composes/5425CICD/gitlab/.rdm.md +20 -0
- iamt/composes/5425CICD/gitlab/config/ssl/.gitkeep +0 -0
- iamt/composes/5425CICD/gitlab/docker-compose.yml +32 -0
- iamt/composes/5425CICD/gitlabDocs/.rdm.md +3 -0
- iamt/composes/5425CICD/gitlabRunner/.rdm.md +5 -0
- iamt/composes/5425CICD/sonarQube/.rdm.md +14 -0
- iamt/composes/5425CICD/sonarQube/docker-compose.yml +46 -0
- iamt/composes/5425CICD/sonarQube/docker-compose3.yml +41 -0
- iamt/composes/5425CICD/sonarQube/docker-compose4.yml +33 -0
- iamt/composes/5425CICD/sonarQube/sonarqube_conf/.gitkeep +0 -0
- iamt/composes/5425CICD/sonarQube/sonarqube_data/.gitkeep +0 -0
- iamt/composes/5425CICD/sonarQube/sonarqube_extensions/.gitkeep +0 -0
- iamt/composes/5425CICD/sonarQube/sonarqube_logs/.gitkeep +0 -0
- iamt/composes/5425CICD/sonarQube/sonarqube_temp/.gitkeep +0 -0
- iamt/composes/5435PROMPT/.rdm.md +11 -0
- iamt/composes/5435PROMPT/langfuse/.env +276 -0
- iamt/composes/5435PROMPT/langfuse/.rdm.md +3 -0
- iamt/composes/5435PROMPT/langfuse/docker-compose.yml +166 -0
- iamt/composes/5435PROMPT/prompt-optimizer/.rdm.md +3 -0
- iamt/composes/5465BASE/alpine/.rdm.md +6 -0
- iamt/composes/5465BASE/mysql/.rdm.md +40 -0
- iamt/composes/5465BASE/mysql/conf/my.cnf +52 -0
- iamt/composes/5465BASE/mysql/docker-compose.yml +31 -0
- iamt/composes/5465BASE/mysql/init/01-init.sql +14 -0
- iamt/composes/5465BASE/nginx/.rdm.md +16 -0
- iamt/composes/5465BASE/nginx/docker-compose.yml +29 -0
- iamt/composes/5465BASE/nginx/html/index.html +11 -0
- iamt/composes/5465BASE/nginx/nginx/conf.d/default.conf +22 -0
- iamt/composes/5465BASE/nginx/nginx/nginx.conf +35 -0
- iamt/composes/5465BASE/node/.rdm.md +0 -0
- iamt/composes/5465BASE/node/docker-compose.yml +0 -0
- iamt/composes/5465BASE/php/.rdm.md +0 -0
- iamt/composes/5465BASE/php/docker-compose.yml +0 -0
- iamt/composes/5465BASE/redis/.env +11 -0
- iamt/composes/5465BASE/redis/.rdm.md +7 -0
- iamt/composes/5465BASE/redis/config/redis.conf +57 -0
- iamt/composes/5465BASE/redis/docker-compose.yml +35 -0
- iamt/composes/5475TTS/GPTsovits/.rdm.md +4 -0
- iamt/composes/5475TTS/GPTsovits/docker-compose.yml +34 -0
- iamt/composes/5475TTS/indexTTS/.rdm.md +3 -0
- iamt/composes/5485MCP/.rdm.md +5 -0
- iamt/composes/5485MCP/mcpGateway/.rdm.md +2 -0
- iamt/composes/5485MCP/mcpGateway/docker-compose.yml +0 -0
- iamt/composes/5485MCP/mcpProxy/.rdm.md +2 -0
- iamt/composes/5485MCP/mcpProxy/config.json +53 -0
- iamt/composes/5485MCP/mcpProxy/docker-compose.yml +34 -0
- iamt/composes/5485MCP/superGateway/.env +2 -0
- iamt/composes/5485MCP/superGateway/.rdm.md +17 -0
- iamt/composes/5485MCP/superGateway/docker-compose.yml +21 -0
- iamt/composes/5495LLM/ollama_nvidia/.rdm.md +21 -0
- iamt/composes/5495LLM/ollama_nvidia/docker-compose.yml +24 -0
- iamt/composes/5555RAG/QAnything/.rdm.md +5 -0
- iamt/composes/5555RAG/bisheng/.rdm.md +4 -0
- iamt/composes/5555RAG/devdocs/.rdm.md +4 -0
- iamt/composes/5555RAG/devdocs/docker-compose.yml +81 -0
- iamt/composes/5555RAG/kotaemon/.rdm.md +3 -0
- iamt/composes/5555RAG/kotaemon/docker-compose.yml +3 -0
- iamt/composes/5555RAG/llama_index/.rdm.md +3 -0
- iamt/composes/5555RAG/ragflow/.rdm.md +4 -0
- iamt/composes/5555RAG/ragflow/docker-compose.yml +0 -0
- iamt/composes/5556LLMAPI/litellm/.env +29 -0
- iamt/composes/5556LLMAPI/litellm/.rdm.md +17 -0
- iamt/composes/5556LLMAPI/litellm/config.yaml +211 -0
- iamt/composes/5556LLMAPI/litellm/docker-compose.yml +68 -0
- iamt/composes/5556LLMAPI/litellm/prometheus.yml +9 -0
- iamt/composes/5556LLMAPI/newapi/.env +7 -0
- iamt/composes/5556LLMAPI/newapi/docker-compose.yml +54 -0
- iamt/composes/5556LLMAPI/newapi_sqlite/.env +3 -0
- iamt/composes/5556LLMAPI/newapi_sqlite/.rdm.md +15 -0
- iamt/composes/5556LLMAPI/newapi_sqlite/docker-compose.yml +15 -0
- iamt/composes/5556LLMAPI/oneapi/.env +5 -0
- iamt/composes/5556LLMAPI/oneapi/docker-compose.yml +51 -0
- iamt/composes/5556LLMAPI/oneapi_postgresql/docker-compose.yml +51 -0
- iamt/composes/5556LLMAPI/oneapi_sqlite/.rdm.md +10 -0
- iamt/composes/5556LLMAPI/oneapi_sqlite/docker-compose.yml +15 -0
- iamt/composes/5557AICLIENT/chatgpt-web-midjourney-proxy/.rdm.md +4 -0
- iamt/composes/5557AICLIENT/librechat/.env +511 -0
- iamt/composes/5557AICLIENT/librechat/.env.example +509 -0
- iamt/composes/5557AICLIENT/librechat/README.md +10 -0
- iamt/composes/5557AICLIENT/librechat/docker-compose.override.yml +21 -0
- iamt/composes/5557AICLIENT/librechat/docker-compose.yml +70 -0
- iamt/composes/5557AICLIENT/librechat/librechat.yaml +19 -0
- iamt/composes/5557AICLIENT/librechat/litellm-config.yml +21 -0
- iamt/composes/5557AICLIENT/librechat_oneapi/.env +535 -0
- iamt/composes/5557AICLIENT/librechat_oneapi/.rdm.md +19 -0
- iamt/composes/5557AICLIENT/librechat_oneapi/docker-compose.override.yml +14 -0
- iamt/composes/5557AICLIENT/librechat_oneapi/docker-compose.yml +72 -0
- iamt/composes/5557AICLIENT/librechat_oneapi/librechat.yaml +42 -0
- iamt/composes/5557AICLIENT/nextChat/.rdm.md +13 -0
- iamt/composes/5557AICLIENT/nextChat/docker-compose.yml +2 -0
- iamt/composes/5557AICLIENT/openwebui/.env +15 -0
- iamt/composes/5557AICLIENT/openwebui/.rdm.md +6 -0
- iamt/composes/5557AICLIENT/openwebui/docker-compose.yml +33 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/.env +193 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/.rdm.md +15 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/README.md +71 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/atlas.hcl +12 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250703095335_initial.sql +90 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250703115304_update.sql +2 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250704040445_update.sql +2 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250708075302_update.sql +10 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250710100212_update.sql +38 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250711034533_update.sql +8 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/20250717125913_update.sql +12 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/migrations/atlas.sum +8 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/atlas/opencoze_latest_schema.hcl +4057 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/model_template_qwen.yaml +106 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark.yaml +133 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-lite.yaml +108 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-pro-256k.yaml +108 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-pro-32k.yaml +108 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-thinking-pro.yaml +131 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-thinking-vision-pro.yaml +132 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-vision-lite.yaml +131 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-1.5-vision-pro.yaml +132 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-seed-1.6-flash.yaml +132 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-seed-1.6-thinking.yaml +132 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_doubao-seed-1.6.yaml +132 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_volc_deepseek-r1.yaml +108 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ark_volc_deepseek-v3.yaml +108 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_basic.yaml +201 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_claude.yaml +90 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_deepseek.yaml +107 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_gemini.yaml +139 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_ollama.yaml +84 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_openai.yaml +171 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/model/template/model_template_qwen.yaml +106 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/common/oauth_schema.json +42 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/bocha_search.yaml +179 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/chestnut_sign.yaml +50 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/gaode_map.yaml +754 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/image_compression.yaml +58 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_authentication_authorization.yaml +56 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_base.yaml +1172 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_calendar.yaml +479 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_docx.yaml +552 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_message.yaml +499 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_sheet.yaml +795 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_task.yaml +409 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/lark_wiki.yaml +95 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/library_search.yaml +73 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/maker_smart_design.yaml +82 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/plugin_meta.yaml +913 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/sky_eye_check.yaml +431 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/sohu_hot_news.yaml +69 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/wolfram_alpha.yaml +100 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/plugin/pluginproduct/worth_buying.yaml +77 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/prompt/messages_to_query_template_jinja2.json +10 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/backend/conf/prompt/nl2sql_template_jinja2.json +10 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/docker-compose.yml +549 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/proxy/go.mod +3 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/proxy/proxy.go +100 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/elasticsearch/analysis-smartcn.zip +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/elasticsearch/elasticsearch.yml +14 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/elasticsearch/es_index_schema/coze_resource.index-template.json +74 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/elasticsearch/es_index_schema/project_draft.index-template.json +79 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/elasticsearch/setup_es.sh +142 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/etcd/etcd.conf.yml +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/.mc/config.json +1 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/claude_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/connector-api.jpg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/connector-chat-sdk.jpg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/connector-coze.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/deepseek_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_agent_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_app_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_database_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_dataset_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_prompt_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/default_workflow_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/doubao_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/gemini_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/image_kn_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/ollama.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/openai_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/plugin_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/qwen_v2.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_10coz_folder.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_11coz_trans_switch.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_12coz_location.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_13coz_link.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_14coz_clock.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_1coz_ai.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_2icon_ai_writing.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_3coz_imageflow.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_4icon_aisearch.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_5icon_summary.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_6icon_digest.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_7icon_video.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_8icon_audio.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/shortcut_9coz_variables.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/table_kn_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/team_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/template_7416518827749425204.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/template_7418535986059067392.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/text_kn_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/default_icon/user_default_icon.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_ai_ppt.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_bocha_search.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_chat_ppt.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_chestnut_sign.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_constellation.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_gaode_map.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_image_compression.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_authentication_authorization.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_base.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_calendar.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_docx.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_message.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_sheet.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_task.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_lark_wiki.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_library_search.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_liepin.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_maker_smart_design.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_sky_eye_check.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_sohu_hot_news.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_wolfram_alpha.png +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/minio/official_plugin_icon/plugin_worth_buying.jpeg +0 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/mysql/schema.sql +836 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/mysql/sql_init.sql +666 -0
- iamt/composes/5558AIWORKFLOW/coze_studio/volumes/rocketmq/broker.conf +28 -0
- iamt/composes/5558AIWORKFLOW/dify/.env +1090 -0
- iamt/composes/5558AIWORKFLOW/dify/.rdm.md +11 -0
- iamt/composes/5558AIWORKFLOW/dify/certbot/README.md +76 -0
- iamt/composes/5558AIWORKFLOW/dify/certbot/docker-entrypoint.sh +30 -0
- iamt/composes/5558AIWORKFLOW/dify/certbot/update-cert.template.txt +19 -0
- iamt/composes/5558AIWORKFLOW/dify/couchbase-server/Dockerfile +4 -0
- iamt/composes/5558AIWORKFLOW/dify/couchbase-server/init-cbserver.sh +44 -0
- iamt/composes/5558AIWORKFLOW/dify/docker-compose.yml +1174 -0
- iamt/composes/5558AIWORKFLOW/dify/elasticsearch/docker-entrypoint.sh +25 -0
- iamt/composes/5558AIWORKFLOW/dify/image.png +0 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/conf.d/default.conf.template +48 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/docker-entrypoint.sh +42 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/https.conf.template +9 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/nginx.conf.template +34 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/proxy.conf.template +11 -0
- iamt/composes/5558AIWORKFLOW/dify/nginx/ssl/.gitkeep +0 -0
- iamt/composes/5558AIWORKFLOW/dify/pgvector/docker-entrypoint.sh +24 -0
- iamt/composes/5558AIWORKFLOW/dify/ssrf_proxy/docker-entrypoint.sh +42 -0
- iamt/composes/5558AIWORKFLOW/dify/ssrf_proxy/squid.conf.template +56 -0
- iamt/composes/5558AIWORKFLOW/dify/startupscripts/init.sh +13 -0
- iamt/composes/5558AIWORKFLOW/dify/startupscripts/init_user.script +10 -0
- iamt/composes/5558AIWORKFLOW/dify/tidb/config/pd.toml +4 -0
- iamt/composes/5558AIWORKFLOW/dify/tidb/config/tiflash-learner.toml +13 -0
- iamt/composes/5558AIWORKFLOW/dify/tidb/config/tiflash.toml +19 -0
- iamt/composes/5558AIWORKFLOW/dify/tidb/docker-compose.yaml +62 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/myscale/config/users.d/custom_users_config.xml +17 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/oceanbase/init.d/vec_memory.sql +1 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/opensearch/opensearch_dashboards.yml +222 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/sandbox/conf/config.yaml +14 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/sandbox/conf/config.yaml.example +35 -0
- iamt/composes/5558AIWORKFLOW/dify/volumes/sandbox/dependencies/python-requirements.txt +0 -0
- iamt/composes/5558AIWORKFLOW/fastgpt/.rdm.md +14 -0
- iamt/composes/5558AIWORKFLOW/fastgpt/docker-compose-pgvector.yml +177 -0
- iamt/composes/5558AIWORKFLOW/langflow/.rdm.md +9 -0
- iamt/composes/5558AIWORKFLOW/langflow/docker-compose.yml +30 -0
- iamt/composes/5558AIWORKFLOW/n8n/.env +6 -0
- iamt/composes/5558AIWORKFLOW/n8n/.rdm.md +24 -0
- iamt/composes/5558AIWORKFLOW/n8n/docker-compose.yml +52 -0
- iamt/composes/5558AIWORKFLOW/n8n/init-data.sh +13 -0
- iamt/composes/5558AIWORKFLOW/n8n/n8n_storage/.gitkeep +0 -0
- iamt/composes/5559MJAPI/midjourney-proxy/.rdm.md +10 -0
- iamt/composes/5559MJAPI/midjourney-proxy/docker-compose.yml +0 -0
- iamt/composes/5559MJAPI/midjourney-proxy2/.rdm.md +5 -0
- iamt/composes/5559MJAPI/midjourney-proxy2/docker-compose.yml +21 -0
- iamt/composes/5655PROXY/3xui/.rdm.md +12 -0
- iamt/composes/5655PROXY/3xui/docker-compose.yml +15 -0
- iamt/composes/5655PROXY/hui/.rdm.md +6 -0
- iamt/composes/5655PROXY/hui/docker-compose.yml +18 -0
- iamt/composes/5655PROXY/mihomo/.rdm.config.md +17 -0
- iamt/composes/5655PROXY/mihomo/.rdm.md +40 -0
- iamt/composes/5655PROXY/mihomo/clash_meta_config/config.yaml +584 -0
- iamt/composes/5655PROXY/mihomo/clash_meta_config/geoip.metadb +0 -0
- iamt/composes/5655PROXY/mihomo/clash_meta_config/sub1.yaml +7 -0
- iamt/composes/5655PROXY/mihomo/clash_meta_config/sub2.yaml +56 -0
- iamt/composes/5655PROXY/mihomo/docker-compose.yml +33 -0
- iamt/composes/5655PROXY/nginx/.rdm +2 -0
- iamt/composes/5655PROXY/nginx/docker-compose.yml +21 -0
- iamt/composes/5655PROXY/sub-web/.rdm.md +9 -0
- iamt/composes/5655PROXY/sub2clash/.rdm.md +3 -0
- iamt/composes/5655PROXY/sub2clash/docker-compose.yml +21 -0
- iamt/composes/5655PROXY/subconverter/.rdm.md +4 -0
- iamt/composes/5655PROXY/v2ray/.rdm.md +3 -0
- iamt/composes/5655PROXY/v2raya/.rdm.md +33 -0
- iamt/composes/5655PROXY/v2raya/docker-compose.yml +19 -0
- iamt/composes/5655PROXY/xui/.rdm.md +3 -0
- iamt/composes/5755COMFYUI/akegarasu_lora-scripts/.rdm.md +18 -0
- iamt/composes/5755COMFYUI/akegarasu_lora-scripts/Dockerfile-for-Mainland-China +42 -0
- iamt/composes/5755COMFYUI/akegarasu_lora-scripts/docker-compose.yml +39 -0
- iamt/composes/5755COMFYUI/comfyui_boot/.rdm.md +29 -0
- iamt/composes/5755COMFYUI/comfyui_boot/docker-compose.yml +0 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu121/.env +1 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu121/.rdm.md +20 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu121/docker-compose.yml +45 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu121/storage/.gitkeep +0 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu124-cn/.rdm.md +22 -0
- iamt/composes/5755COMFYUI/comfyui_boot_cu124-cn/docker-compose.yml +31 -0
- iamt/composes/5755COMFYUI/comfyui_boot_minimal/.rdm.md +26 -0
- iamt/composes/5755COMFYUI/comfyui_boot_minimal/docker-compose.yml +0 -0
- iamt/composes/5755COMFYUI/comfyui_boot_slim/.env +0 -0
- iamt/composes/5755COMFYUI/comfyui_boot_slim/.rdm.md +23 -0
- iamt/composes/5755COMFYUI/comfyui_boot_slim/docker-compose.yml +24 -0
- iamt/composes/5755COMFYUI/swarmui/.rdm.md +5 -0
- iamt/composes/5755COMFYUI/swarmui/docker-compose.yml +38 -0
- iamt/composes/5855MEDIA/any-listen/.rdm.md +7 -0
- iamt/composes/5855MEDIA/any-listen/data/config.cjs +20 -0
- iamt/composes/5855MEDIA/any-listen/docker-compose.yml +10 -0
- iamt/composes/5855MEDIA/blackcandy/.rdm.md +1 -0
- iamt/composes/5855MEDIA/koel/.rdm.md +17 -0
- iamt/composes/5855MEDIA/koel/docker-compose.yml +41 -0
- iamt/composes/5855MEDIA/navidrome/.rdm.md +15 -0
- iamt/composes/5855MEDIA/navidrome/docker-compose.yml +15 -0
- iamt/composes/5955BACKUP/gobackup/.rdm.md +9 -0
- iamt/composes/5955BACKUP/gobackup/docker-compose.yml +19 -0
- iamt/composes/5955BACKUP/gobackup/gobackup/gobackup.yml +5 -0
- iamt/composes/5955BACKUP/rclone/.rdm.md +6 -0
- iamt/composes/5955BACKUP/rclone/docker-compose.yml +0 -0
- iamt/composes/5965SYNC/verysync/.rdm.md +16 -0
- iamt/composes/5965SYNC/verysync/docker-compose.yml +22 -0
- iamt/composes/6055DATABASE/adminer/.rdm.md +13 -0
- iamt/composes/6055DATABASE/cloudbeaver/.rdm.md +10 -0
- iamt/composes/6055DATABASE/mongodb/.env +7 -0
- iamt/composes/6055DATABASE/mongodb/.rdm.md +8 -0
- iamt/composes/6055DATABASE/mongodb/docker-compose.yml +24 -0
- iamt/composes/6055DATABASE/mongodbExpress/.env +10 -0
- iamt/composes/6055DATABASE/mongodbExpress/.rdm.md +14 -0
- iamt/composes/6055DATABASE/mongodbExpress/docker-compose.yml +24 -0
- iamt/composes/6055DATABASE/mysql/.env +0 -0
- iamt/composes/6055DATABASE/mysql/.rdm.md +0 -0
- iamt/composes/6055DATABASE/mysql/docker-compose.yml +26 -0
- iamt/composes/6055DATABASE/mysql/my.cnf +107 -0
- iamt/composes/6155AUTH/authentik/.env +10 -0
- iamt/composes/6155AUTH/authentik/.rdm.md +7 -0
- iamt/composes/6155AUTH/authentik/docker-compose.yml +90 -0
- iamt/composes/6155AUTH/casdoor/conf/app.conf +30 -0
- iamt/composes/6155AUTH/casdoor/docker-compose.yml +20 -0
- iamt/composes/6255Monitor/dcgm_exporter/.rdm.md +5 -0
- iamt/composes/6255Monitor/dcgm_exporter/docker-compose.yml +34 -0
- iamt/composes/6255Monitor/grafana/.env +5 -0
- iamt/composes/6255Monitor/grafana/.rdm.md +0 -0
- iamt/composes/6255Monitor/grafana/docker-compose.yml +22 -0
- iamt/composes/6255Monitor/node_exporter/.env +1 -0
- iamt/composes/6255Monitor/node_exporter/docker-compose.yml +19 -0
- iamt/composes/6255Monitor/prometheus/.env +6 -0
- iamt/composes/6255Monitor/prometheus/.rdm.md +8 -0
- iamt/composes/6255Monitor/prometheus/conf/prometheus.yml +39 -0
- iamt/composes/6255Monitor/prometheus/docker-compose.yml +28 -0
- iamt/composes/6255Monitor/prometheus/prometheus/.gitkeep +0 -0
- iamt/composes/6355SSL/certbot/.rdm.md +4 -0
- iamt/composes/6355SSL/certd/.rdm.md +4 -0
- iamt/composes/6355SSL/certimate/.rdm.md +23 -0
- iamt/composes/6355SSL/certimate/docker-compose.yml +17 -0
- iamt/composes/6455Storage/fileBrowser/.env +5 -0
- iamt/composes/6455Storage/fileBrowser/.rdm.md +17 -0
- iamt/composes/6455Storage/fileBrowser/docker-compose.yml +14 -0
- iamt/composes/6455Storage/fileBrowser/filebrowser.db +0 -0
- iamt/composes/6455Storage/fileBrowser/settings.json +8 -0
- iamt/composes/6455Storage/kskypro/.env +3 -0
- iamt/composes/6455Storage/kskypro/.rdm.md +30 -0
- iamt/composes/6455Storage/kskypro/buildimg/000-default.conf.template +45 -0
- iamt/composes/6455Storage/kskypro/buildimg/Dockerfile +97 -0
- iamt/composes/6455Storage/kskypro/buildimg/LICENSE +661 -0
- iamt/composes/6455Storage/kskypro/buildimg/entrypoint.sh +29 -0
- iamt/composes/6455Storage/kskypro/buildimg/ports.conf.template +2 -0
- iamt/composes/6455Storage/kskypro/buildimg/ssl/certs/ssl-cert-snakeoil.pem +21 -0
- iamt/composes/6455Storage/kskypro/buildimg/ssl/private/ssl-cert-snakeoil.key +28 -0
- iamt/composes/6455Storage/kskypro/docker-compose.yml +43 -0
- iamt/composes/6455Storage/kskypro/env.conf +43 -0
- iamt/composes/6455Storage/kskypro/mysql/conf/.gitkeep +0 -0
- iamt/composes/6455Storage/kskypro/mysql/data/.gitkeep +0 -0
- iamt/composes/6455Storage/kskypro/mysql/log/.gitkeep +0 -0
- iamt/composes/6455Storage/lskypro/.rdm.md +15 -0
- iamt/composes/6455Storage/lskypro/Dockerfile +12 -0
- iamt/composes/6455Storage/lskypro/docker-compose.yml +51 -0
- iamt/composes/6455Storage/minio/.rdm.md +1 -0
- iamt/composes/6455Storage/minio/docker-compose.yml +31 -0
- iamt/composes/6455Storage/nextcloud/.rdm.md +0 -0
- iamt/composes/6455Storage/nextcloud/docker-compose.yml +25 -0
- iamt/composes/6455Storage/seafile/.env +46 -0
- iamt/composes/6455Storage/seafile/.rdm.md +31 -0
- iamt/composes/6455Storage/seafile/caddy.yml +26 -0
- iamt/composes/6455Storage/seafile/seadoc.yml +39 -0
- iamt/composes/6455Storage/seafile/seafile-server.yml +79 -0
- iamt/composes/6555DNS/ddnsgo/.env +8 -0
- iamt/composes/6555DNS/ddnsgo/.rdm.md +7 -0
- iamt/composes/6555DNS/ddnsgo/docker-compose.yml +17 -0
- iamt/composes/6555DNS/lucky/.rdm.md +4 -0
- iamt/composes/6555DNS/lucky/docker-compose.yml +14 -0
- iamt/composes/6655CONTAINER/harbor/.rdm.md +1 -0
- iamt/composes/6755SHOP/dujiaoka/.rdm.md +10 -0
- iamt/composes/6755SHOP/dujiaoka/docker-compose.yml +37 -0
- iamt/composes/6755SHOP/dujiaoka/env.conf +46 -0
- iamt/composes/6755SHOP/dujiaoka/storage/.gitkeep +0 -0
- iamt/composes/6755SHOP/dujiaoka/uploads/.gitkeep +0 -0
- iamt/composes/6755SHOP/dujiaoka2/.rdm.md +3 -0
- iamt/composes/8888Others/apitable/docker-compose.yml +233 -0
- iamt/composes/8888Others/changeDetect/README +18 -0
- iamt/composes/8888Others/changeDetect/docker-compose.yml +44 -0
- iamt/composes/8888Others/codeServer/.rdm.md +7 -0
- iamt/composes/8888Others/codeServer/docker-compose.yml +39 -0
- iamt/composes/8888Others/douyin_tiktok_download_api/.rdm.md +19 -0
- iamt/composes/8888Others/douyin_tiktok_download_api/config.yaml +32 -0
- iamt/composes/8888Others/douyin_tiktok_download_api/docker-compose.yml +17 -0
- iamt/composes/8888Others/kasmweb_chrome/.rdm.md +19 -0
- iamt/composes/8888Others/kasmweb_chrome/docker-compose.yml +17 -0
- iamt/composes/8888Others/meilisearch/.env +10 -0
- iamt/composes/8888Others/meilisearch/config/config.toml +132 -0
- iamt/composes/8888Others/meilisearch/docker-compose.yml +34 -0
- iamt/composes/8888Others/memcached/.env +8 -0
- iamt/composes/8888Others/memcached/docker-compose.yml +20 -0
- iamt/composes/8888Others/minio/docker-compose.yml +20 -0
- iamt/composes/8888Others/minio/minio +9 -0
- iamt/composes/8888Others/neko/README.md +11 -0
- iamt/composes/8888Others/neko/docker-compose.yml +16 -0
- iamt/composes/8888Others/ocrmypdf/README.md +14 -0
- iamt/composes/8888Others/outline/docker-compose.yml +76 -0
- iamt/composes/8888Others/outline/docker.env +164 -0
- iamt/composes/8888Others/outline/redis.conf +0 -0
- iamt/composes/8888Others/pandas_ai/.rdm.md +5 -0
- iamt/composes/8888Others/pandas_ai/docker-compose.yml +49 -0
- iamt/composes/8888Others/rancher/.rdm.md +4 -0
- iamt/composes/8888Others/rustdesk/.env +10 -0
- iamt/composes/8888Others/rustdesk/docker-compose.yml +29 -0
- iamt/composes/8888Others/ttrss/docker-compose.yml +74 -0
- iamt/composes/8888Others/vultrCLI/.rdm.md +9 -0
- iamt/composes/8888Others/wewerss/docker-compose.yml +44 -0
- iamt/dcd/dcd.py +337 -0
- iamt/decorators/singleton.py +224 -0
- iamt/modules/_utils/_utils.py +1 -0
- iamt/modules/_utils/arch.py +22 -0
- iamt/modules/_utils/cleanup_network_config.py +68 -0
- iamt/modules/_utils/github.py +123 -0
- iamt/modules/_utils/setup_apt_sources.py +94 -0
- iamt/modules/_utils/steps.py +26 -0
- iamt/modules/claudecode/claudecode.py +0 -0
- iamt/modules/dcdtask/dcdtask.py +164 -0
- iamt/modules/docker/docker.py +370 -0
- iamt/modules/docker/roles/role.py +54 -0
- iamt/modules/docker/templates/daemon/daemon_multi_mirrors.json +21 -0
- iamt/modules/docker/templates/gpgkey/debian_gpgkey +62 -0
- iamt/modules/docker/templates/gpgkey/ubuntu_gpgkey +62 -0
- iamt/modules/github/ghcli.py +197 -0
- iamt/modules/nvm/nvm.py +183 -0
- iamt/modules/nvm/roles/role.py +24 -0
- iamt/modules/runlinetask/runlinetask.py +22 -0
- iamt/modules/ubuntud/antigravity.py +191 -0
- iamt/modules/ubuntud/chrome.py +111 -0
- iamt/modules/ubuntud/fcitx5.py +0 -0
- iamt/modules/ubuntud/ibus.py +53 -0
- iamt/modules/ubuntud/kiro.py +41 -0
- iamt/modules/ubuntud/rime_ice.py +173 -0
- iamt/modules/ubuntud/roles/role.py +28 -0
- iamt/modules/ubuntud/templates/ibus/ibus_rime.custom.yaml +3 -0
- iamt/modules/ubuntud/v2ray-core.py +238 -0
- iamt/modules/ubuntud/v2rayN.py +127 -0
- iamt/modules/ubuntud/vscode.py +162 -0
- iamt/modules/uv/roles/role.py +56 -0
- iamt/modules/uv/templates/uv.toml +5 -0
- iamt/modules/uv/uv.py +315 -0
- iamt/modules/vagrant/templates/Vagrantfile +25 -0
- iamt/modules/vagrant/vagrant.py +91 -0
- iamt/modules/vboxinit/base_box_init.py +142 -0
- iamt/modules/vboxinit/roles/role.py +15 -0
- iamt/role/role.py +134 -0
- iamt/run_file/run_file.py +121 -0
- iamt/run_line/commands.py +70 -0
- iamt/run_line/run_line.py +78 -0
- iamt/task/task.py +108 -0
- iamt/utils/__init__.py +6 -0
- iamt/utils/config_saver.py +90 -0
- iamt/utils/task_tracker.py +136 -0
- iamt-1.1.27.dist-info/METADATA +19 -0
- iamt-1.1.27.dist-info/RECORD +482 -0
- iamt-1.1.27.dist-info/WHEEL +4 -0
- iamt-1.1.27.dist-info/entry_points.txt +5 -0
|
@@ -0,0 +1,1090 @@
|
|
|
1
|
+
# ------------------------------
|
|
2
|
+
# Environment Variables for API service & worker
|
|
3
|
+
# ------------------------------
|
|
4
|
+
|
|
5
|
+
# ------------------------------
|
|
6
|
+
# Common Variables
|
|
7
|
+
# ------------------------------
|
|
8
|
+
|
|
9
|
+
# The backend URL of the console API,
|
|
10
|
+
# used to concatenate the authorization callback.
|
|
11
|
+
# If empty, it is the same domain.
|
|
12
|
+
# Example: https://api.console.dify.ai
|
|
13
|
+
CONSOLE_API_URL=
|
|
14
|
+
|
|
15
|
+
# The front-end URL of the console web,
|
|
16
|
+
# used to concatenate some front-end addresses and for CORS configuration use.
|
|
17
|
+
# If empty, it is the same domain.
|
|
18
|
+
# Example: https://console.dify.ai
|
|
19
|
+
CONSOLE_WEB_URL=
|
|
20
|
+
|
|
21
|
+
# Service API Url,
|
|
22
|
+
# used to display Service API Base Url to the front-end.
|
|
23
|
+
# If empty, it is the same domain.
|
|
24
|
+
# Example: https://api.dify.ai
|
|
25
|
+
SERVICE_API_URL=
|
|
26
|
+
|
|
27
|
+
# WebApp API backend Url,
|
|
28
|
+
# used to declare the back-end URL for the front-end API.
|
|
29
|
+
# If empty, it is the same domain.
|
|
30
|
+
# Example: https://api.app.dify.ai
|
|
31
|
+
APP_API_URL=
|
|
32
|
+
|
|
33
|
+
# WebApp Url,
|
|
34
|
+
# used to display WebAPP API Base Url to the front-end.
|
|
35
|
+
# If empty, it is the same domain.
|
|
36
|
+
# Example: https://app.dify.ai
|
|
37
|
+
APP_WEB_URL=
|
|
38
|
+
|
|
39
|
+
# File preview or download Url prefix.
|
|
40
|
+
# used to display File preview or download Url to the front-end or as Multi-model inputs;
|
|
41
|
+
# Url is signed and has expiration time.
|
|
42
|
+
# Setting FILES_URL is required for file processing plugins.
|
|
43
|
+
# - For https://example.com, use FILES_URL=https://example.com
|
|
44
|
+
# - For http://example.com, use FILES_URL=http://example.com
|
|
45
|
+
# Recommendation: use a dedicated domain (e.g., https://upload.example.com).
|
|
46
|
+
# Alternatively, use http://<your-ip>:5001 or http://api:5001,
|
|
47
|
+
# ensuring port 5001 is externally accessible (see docker-compose.yaml).
|
|
48
|
+
FILES_URL=
|
|
49
|
+
|
|
50
|
+
# ------------------------------
|
|
51
|
+
# Server Configuration
|
|
52
|
+
# ------------------------------
|
|
53
|
+
|
|
54
|
+
# The log level for the application.
|
|
55
|
+
# Supported values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`
|
|
56
|
+
LOG_LEVEL=INFO
|
|
57
|
+
# Log file path
|
|
58
|
+
LOG_FILE=/app/logs/server.log
|
|
59
|
+
# Log file max size, the unit is MB
|
|
60
|
+
LOG_FILE_MAX_SIZE=20
|
|
61
|
+
# Log file max backup count
|
|
62
|
+
LOG_FILE_BACKUP_COUNT=5
|
|
63
|
+
# Log dateformat
|
|
64
|
+
LOG_DATEFORMAT=%Y-%m-%d %H:%M:%S
|
|
65
|
+
# Log Timezone
|
|
66
|
+
LOG_TZ=UTC
|
|
67
|
+
|
|
68
|
+
# Debug mode, default is false.
|
|
69
|
+
# It is recommended to turn on this configuration for local development
|
|
70
|
+
# to prevent some problems caused by monkey patch.
|
|
71
|
+
DEBUG=false
|
|
72
|
+
|
|
73
|
+
# Flask debug mode, it can output trace information at the interface when turned on,
|
|
74
|
+
# which is convenient for debugging.
|
|
75
|
+
FLASK_DEBUG=false
|
|
76
|
+
|
|
77
|
+
# A secret key that is used for securely signing the session cookie
|
|
78
|
+
# and encrypting sensitive information on the database.
|
|
79
|
+
# You can generate a strong key using `openssl rand -base64 42`.
|
|
80
|
+
SECRET_KEY=sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U
|
|
81
|
+
|
|
82
|
+
# Password for admin user initialization.
|
|
83
|
+
# If left unset, admin user will not be prompted for a password
|
|
84
|
+
# when creating the initial admin account.
|
|
85
|
+
# The length of the password cannot exceed 30 characters.
|
|
86
|
+
INIT_PASSWORD=
|
|
87
|
+
|
|
88
|
+
# Deployment environment.
|
|
89
|
+
# Supported values are `PRODUCTION`, `TESTING`. Default is `PRODUCTION`.
|
|
90
|
+
# Testing environment. There will be a distinct color label on the front-end page,
|
|
91
|
+
# indicating that this environment is a testing environment.
|
|
92
|
+
DEPLOY_ENV=PRODUCTION
|
|
93
|
+
|
|
94
|
+
# Whether to enable the version check policy.
|
|
95
|
+
# If set to empty, https://updates.dify.ai will be called for version check.
|
|
96
|
+
CHECK_UPDATE_URL=https://updates.dify.ai
|
|
97
|
+
|
|
98
|
+
# Used to change the OpenAI base address, default is https://api.openai.com/v1.
|
|
99
|
+
# When OpenAI cannot be accessed in China, replace it with a domestic mirror address,
|
|
100
|
+
# or when a local model provides OpenAI compatible API, it can be replaced.
|
|
101
|
+
OPENAI_API_BASE=https://api.openai.com/v1
|
|
102
|
+
|
|
103
|
+
# When enabled, migrations will be executed prior to application startup
|
|
104
|
+
# and the application will start after the migrations have completed.
|
|
105
|
+
MIGRATION_ENABLED=true
|
|
106
|
+
|
|
107
|
+
# File Access Time specifies a time interval in seconds for the file to be accessed.
|
|
108
|
+
# The default value is 300 seconds.
|
|
109
|
+
FILES_ACCESS_TIMEOUT=300
|
|
110
|
+
|
|
111
|
+
# Access token expiration time in minutes
|
|
112
|
+
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|
113
|
+
|
|
114
|
+
# Refresh token expiration time in days
|
|
115
|
+
REFRESH_TOKEN_EXPIRE_DAYS=30
|
|
116
|
+
|
|
117
|
+
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
|
118
|
+
APP_MAX_ACTIVE_REQUESTS=0
|
|
119
|
+
APP_MAX_EXECUTION_TIME=1200
|
|
120
|
+
|
|
121
|
+
# ------------------------------
|
|
122
|
+
# Container Startup Related Configuration
|
|
123
|
+
# Only effective when starting with docker image or docker-compose.
|
|
124
|
+
# ------------------------------
|
|
125
|
+
|
|
126
|
+
# API service binding address, default: 0.0.0.0, i.e., all addresses can be accessed.
|
|
127
|
+
DIFY_BIND_ADDRESS=0.0.0.0
|
|
128
|
+
|
|
129
|
+
# API service binding port number, default 5001.
|
|
130
|
+
DIFY_PORT=5001
|
|
131
|
+
|
|
132
|
+
# The number of API server workers, i.e., the number of workers.
|
|
133
|
+
# Formula: number of cpu cores x 2 + 1 for sync, 1 for Gevent
|
|
134
|
+
# Reference: https://docs.gunicorn.org/en/stable/design.html#how-many-workers
|
|
135
|
+
SERVER_WORKER_AMOUNT=1
|
|
136
|
+
|
|
137
|
+
# Defaults to gevent. If using windows, it can be switched to sync or solo.
|
|
138
|
+
SERVER_WORKER_CLASS=gevent
|
|
139
|
+
|
|
140
|
+
# Default number of worker connections, the default is 10.
|
|
141
|
+
SERVER_WORKER_CONNECTIONS=10
|
|
142
|
+
|
|
143
|
+
# Similar to SERVER_WORKER_CLASS.
|
|
144
|
+
# If using windows, it can be switched to sync or solo.
|
|
145
|
+
CELERY_WORKER_CLASS=
|
|
146
|
+
|
|
147
|
+
# Request handling timeout. The default is 200,
|
|
148
|
+
# it is recommended to set it to 360 to support a longer sse connection time.
|
|
149
|
+
GUNICORN_TIMEOUT=360
|
|
150
|
+
|
|
151
|
+
# The number of Celery workers. The default is 1, and can be set as needed.
|
|
152
|
+
CELERY_WORKER_AMOUNT=
|
|
153
|
+
|
|
154
|
+
# Flag indicating whether to enable autoscaling of Celery workers.
|
|
155
|
+
#
|
|
156
|
+
# Autoscaling is useful when tasks are CPU intensive and can be dynamically
|
|
157
|
+
# allocated and deallocated based on the workload.
|
|
158
|
+
#
|
|
159
|
+
# When autoscaling is enabled, the maximum and minimum number of workers can
|
|
160
|
+
# be specified. The autoscaling algorithm will dynamically adjust the number
|
|
161
|
+
# of workers within the specified range.
|
|
162
|
+
#
|
|
163
|
+
# Default is false (i.e., autoscaling is disabled).
|
|
164
|
+
#
|
|
165
|
+
# Example:
|
|
166
|
+
# CELERY_AUTO_SCALE=true
|
|
167
|
+
CELERY_AUTO_SCALE=false
|
|
168
|
+
|
|
169
|
+
# The maximum number of Celery workers that can be autoscaled.
|
|
170
|
+
# This is optional and only used when autoscaling is enabled.
|
|
171
|
+
# Default is not set.
|
|
172
|
+
CELERY_MAX_WORKERS=
|
|
173
|
+
|
|
174
|
+
# The minimum number of Celery workers that can be autoscaled.
|
|
175
|
+
# This is optional and only used when autoscaling is enabled.
|
|
176
|
+
# Default is not set.
|
|
177
|
+
CELERY_MIN_WORKERS=
|
|
178
|
+
|
|
179
|
+
# API Tool configuration
|
|
180
|
+
API_TOOL_DEFAULT_CONNECT_TIMEOUT=10
|
|
181
|
+
API_TOOL_DEFAULT_READ_TIMEOUT=60
|
|
182
|
+
|
|
183
|
+
# -------------------------------
|
|
184
|
+
# Datasource Configuration
|
|
185
|
+
# --------------------------------
|
|
186
|
+
ENABLE_WEBSITE_JINAREADER=true
|
|
187
|
+
ENABLE_WEBSITE_FIRECRAWL=true
|
|
188
|
+
ENABLE_WEBSITE_WATERCRAWL=true
|
|
189
|
+
|
|
190
|
+
# ------------------------------
|
|
191
|
+
# Database Configuration
|
|
192
|
+
# The database uses PostgreSQL. Please use the public schema.
|
|
193
|
+
# It is consistent with the configuration in the 'db' service below.
|
|
194
|
+
# ------------------------------
|
|
195
|
+
|
|
196
|
+
DB_USERNAME=postgres
|
|
197
|
+
DB_PASSWORD=difyai123456
|
|
198
|
+
DB_HOST=db
|
|
199
|
+
DB_PORT=5432
|
|
200
|
+
DB_DATABASE=dify
|
|
201
|
+
# The size of the database connection pool.
|
|
202
|
+
# The default is 30 connections, which can be appropriately increased.
|
|
203
|
+
SQLALCHEMY_POOL_SIZE=30
|
|
204
|
+
# Database connection pool recycling time, the default is 3600 seconds.
|
|
205
|
+
SQLALCHEMY_POOL_RECYCLE=3600
|
|
206
|
+
# Whether to print SQL, default is false.
|
|
207
|
+
SQLALCHEMY_ECHO=false
|
|
208
|
+
|
|
209
|
+
# Maximum number of connections to the database
|
|
210
|
+
# Default is 100
|
|
211
|
+
#
|
|
212
|
+
# Reference: https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-MAX-CONNECTIONS
|
|
213
|
+
POSTGRES_MAX_CONNECTIONS=100
|
|
214
|
+
|
|
215
|
+
# Sets the amount of shared memory used for postgres's shared buffers.
|
|
216
|
+
# Default is 128MB
|
|
217
|
+
# Recommended value: 25% of available memory
|
|
218
|
+
# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-SHARED-BUFFERS
|
|
219
|
+
POSTGRES_SHARED_BUFFERS=128MB
|
|
220
|
+
|
|
221
|
+
# Sets the amount of memory used by each database worker for working space.
|
|
222
|
+
# Default is 4MB
|
|
223
|
+
#
|
|
224
|
+
# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-WORK-MEM
|
|
225
|
+
POSTGRES_WORK_MEM=4MB
|
|
226
|
+
|
|
227
|
+
# Sets the amount of memory reserved for maintenance activities.
|
|
228
|
+
# Default is 64MB
|
|
229
|
+
#
|
|
230
|
+
# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEM
|
|
231
|
+
POSTGRES_MAINTENANCE_WORK_MEM=64MB
|
|
232
|
+
|
|
233
|
+
# Sets the planner's assumption about the effective cache size.
|
|
234
|
+
# Default is 4096MB
|
|
235
|
+
#
|
|
236
|
+
# Reference: https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-EFFECTIVE-CACHE-SIZE
|
|
237
|
+
POSTGRES_EFFECTIVE_CACHE_SIZE=4096MB
|
|
238
|
+
|
|
239
|
+
# ------------------------------
|
|
240
|
+
# Redis Configuration
|
|
241
|
+
# This Redis configuration is used for caching and for pub/sub during conversation.
|
|
242
|
+
# ------------------------------
|
|
243
|
+
|
|
244
|
+
REDIS_HOST=redis
|
|
245
|
+
REDIS_PORT=6379
|
|
246
|
+
REDIS_USERNAME=
|
|
247
|
+
REDIS_PASSWORD=difyai123456
|
|
248
|
+
REDIS_USE_SSL=false
|
|
249
|
+
REDIS_DB=0
|
|
250
|
+
|
|
251
|
+
# Whether to use Redis Sentinel mode.
|
|
252
|
+
# If set to true, the application will automatically discover and connect to the master node through Sentinel.
|
|
253
|
+
REDIS_USE_SENTINEL=false
|
|
254
|
+
|
|
255
|
+
# List of Redis Sentinel nodes. If Sentinel mode is enabled, provide at least one Sentinel IP and port.
|
|
256
|
+
# Format: `<sentinel1_ip>:<sentinel1_port>,<sentinel2_ip>:<sentinel2_port>,<sentinel3_ip>:<sentinel3_port>`
|
|
257
|
+
REDIS_SENTINELS=
|
|
258
|
+
REDIS_SENTINEL_SERVICE_NAME=
|
|
259
|
+
REDIS_SENTINEL_USERNAME=
|
|
260
|
+
REDIS_SENTINEL_PASSWORD=
|
|
261
|
+
REDIS_SENTINEL_SOCKET_TIMEOUT=0.1
|
|
262
|
+
|
|
263
|
+
# List of Redis Cluster nodes. If Cluster mode is enabled, provide at least one Cluster IP and port.
|
|
264
|
+
# Format: `<Cluster1_ip>:<Cluster1_port>,<Cluster2_ip>:<Cluster2_port>,<Cluster3_ip>:<Cluster3_port>`
|
|
265
|
+
REDIS_USE_CLUSTERS=false
|
|
266
|
+
REDIS_CLUSTERS=
|
|
267
|
+
REDIS_CLUSTERS_PASSWORD=
|
|
268
|
+
|
|
269
|
+
# ------------------------------
|
|
270
|
+
# Celery Configuration
|
|
271
|
+
# ------------------------------
|
|
272
|
+
|
|
273
|
+
# Use redis as the broker, and redis db 1 for celery broker.
|
|
274
|
+
# Format as follows: `redis://<redis_username>:<redis_password>@<redis_host>:<redis_port>/<redis_database>`
|
|
275
|
+
# Example: redis://:difyai123456@redis:6379/1
|
|
276
|
+
# If use Redis Sentinel, format as follows: `sentinel://<sentinel_username>:<sentinel_password>@<sentinel_host>:<sentinel_port>/<redis_database>`
|
|
277
|
+
# Example: sentinel://localhost:26379/1;sentinel://localhost:26380/1;sentinel://localhost:26381/1
|
|
278
|
+
CELERY_BROKER_URL=redis://:difyai123456@redis:6379/1
|
|
279
|
+
BROKER_USE_SSL=false
|
|
280
|
+
|
|
281
|
+
# If you are using Redis Sentinel for high availability, configure the following settings.
|
|
282
|
+
CELERY_USE_SENTINEL=false
|
|
283
|
+
CELERY_SENTINEL_MASTER_NAME=
|
|
284
|
+
CELERY_SENTINEL_SOCKET_TIMEOUT=0.1
|
|
285
|
+
|
|
286
|
+
# ------------------------------
|
|
287
|
+
# CORS Configuration
|
|
288
|
+
# Used to set the front-end cross-domain access policy.
|
|
289
|
+
# ------------------------------
|
|
290
|
+
|
|
291
|
+
# Specifies the allowed origins for cross-origin requests to the Web API,
|
|
292
|
+
# e.g. https://dify.app or * for all origins.
|
|
293
|
+
WEB_API_CORS_ALLOW_ORIGINS=*
|
|
294
|
+
|
|
295
|
+
# Specifies the allowed origins for cross-origin requests to the console API,
|
|
296
|
+
# e.g. https://cloud.dify.ai or * for all origins.
|
|
297
|
+
CONSOLE_CORS_ALLOW_ORIGINS=*
|
|
298
|
+
|
|
299
|
+
# ------------------------------
|
|
300
|
+
# File Storage Configuration
|
|
301
|
+
# ------------------------------
|
|
302
|
+
|
|
303
|
+
# The type of storage to use for storing user files.
|
|
304
|
+
STORAGE_TYPE=opendal
|
|
305
|
+
|
|
306
|
+
# Apache OpenDAL Configuration
|
|
307
|
+
# The configuration for OpenDAL consists of the following format: OPENDAL_<SCHEME_NAME>_<CONFIG_NAME>.
|
|
308
|
+
# You can find all the service configurations (CONFIG_NAME) in the repository at: https://github.com/apache/opendal/tree/main/core/src/services.
|
|
309
|
+
# Dify will scan configurations starting with OPENDAL_<SCHEME_NAME> and automatically apply them.
|
|
310
|
+
# The scheme name for the OpenDAL storage.
|
|
311
|
+
OPENDAL_SCHEME=fs
|
|
312
|
+
# Configurations for OpenDAL Local File System.
|
|
313
|
+
OPENDAL_FS_ROOT=storage
|
|
314
|
+
|
|
315
|
+
# S3 Configuration
|
|
316
|
+
#
|
|
317
|
+
S3_ENDPOINT=
|
|
318
|
+
S3_REGION=us-east-1
|
|
319
|
+
S3_BUCKET_NAME=difyai
|
|
320
|
+
S3_ACCESS_KEY=
|
|
321
|
+
S3_SECRET_KEY=
|
|
322
|
+
# Whether to use AWS managed IAM roles for authenticating with the S3 service.
|
|
323
|
+
# If set to false, the access key and secret key must be provided.
|
|
324
|
+
S3_USE_AWS_MANAGED_IAM=false
|
|
325
|
+
|
|
326
|
+
# Azure Blob Configuration
|
|
327
|
+
#
|
|
328
|
+
AZURE_BLOB_ACCOUNT_NAME=difyai
|
|
329
|
+
AZURE_BLOB_ACCOUNT_KEY=difyai
|
|
330
|
+
AZURE_BLOB_CONTAINER_NAME=difyai-container
|
|
331
|
+
AZURE_BLOB_ACCOUNT_URL=https://<your_account_name>.blob.core.windows.net
|
|
332
|
+
|
|
333
|
+
# Google Storage Configuration
|
|
334
|
+
#
|
|
335
|
+
GOOGLE_STORAGE_BUCKET_NAME=your-bucket-name
|
|
336
|
+
GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64=
|
|
337
|
+
|
|
338
|
+
# The Alibaba Cloud OSS configurations,
|
|
339
|
+
#
|
|
340
|
+
ALIYUN_OSS_BUCKET_NAME=your-bucket-name
|
|
341
|
+
ALIYUN_OSS_ACCESS_KEY=your-access-key
|
|
342
|
+
ALIYUN_OSS_SECRET_KEY=your-secret-key
|
|
343
|
+
ALIYUN_OSS_ENDPOINT=https://oss-ap-southeast-1-internal.aliyuncs.com
|
|
344
|
+
ALIYUN_OSS_REGION=ap-southeast-1
|
|
345
|
+
ALIYUN_OSS_AUTH_VERSION=v4
|
|
346
|
+
# Don't start with '/'. OSS doesn't support leading slash in object names.
|
|
347
|
+
ALIYUN_OSS_PATH=your-path
|
|
348
|
+
|
|
349
|
+
# Tencent COS Configuration
|
|
350
|
+
#
|
|
351
|
+
TENCENT_COS_BUCKET_NAME=your-bucket-name
|
|
352
|
+
TENCENT_COS_SECRET_KEY=your-secret-key
|
|
353
|
+
TENCENT_COS_SECRET_ID=your-secret-id
|
|
354
|
+
TENCENT_COS_REGION=your-region
|
|
355
|
+
TENCENT_COS_SCHEME=your-scheme
|
|
356
|
+
|
|
357
|
+
# Oracle Storage Configuration
|
|
358
|
+
#
|
|
359
|
+
OCI_ENDPOINT=https://your-object-storage-namespace.compat.objectstorage.us-ashburn-1.oraclecloud.com
|
|
360
|
+
OCI_BUCKET_NAME=your-bucket-name
|
|
361
|
+
OCI_ACCESS_KEY=your-access-key
|
|
362
|
+
OCI_SECRET_KEY=your-secret-key
|
|
363
|
+
OCI_REGION=us-ashburn-1
|
|
364
|
+
|
|
365
|
+
# Huawei OBS Configuration
|
|
366
|
+
#
|
|
367
|
+
HUAWEI_OBS_BUCKET_NAME=your-bucket-name
|
|
368
|
+
HUAWEI_OBS_SECRET_KEY=your-secret-key
|
|
369
|
+
HUAWEI_OBS_ACCESS_KEY=your-access-key
|
|
370
|
+
HUAWEI_OBS_SERVER=your-server-url
|
|
371
|
+
|
|
372
|
+
# Volcengine TOS Configuration
|
|
373
|
+
#
|
|
374
|
+
VOLCENGINE_TOS_BUCKET_NAME=your-bucket-name
|
|
375
|
+
VOLCENGINE_TOS_SECRET_KEY=your-secret-key
|
|
376
|
+
VOLCENGINE_TOS_ACCESS_KEY=your-access-key
|
|
377
|
+
VOLCENGINE_TOS_ENDPOINT=your-server-url
|
|
378
|
+
VOLCENGINE_TOS_REGION=your-region
|
|
379
|
+
|
|
380
|
+
# Baidu OBS Storage Configuration
|
|
381
|
+
#
|
|
382
|
+
BAIDU_OBS_BUCKET_NAME=your-bucket-name
|
|
383
|
+
BAIDU_OBS_SECRET_KEY=your-secret-key
|
|
384
|
+
BAIDU_OBS_ACCESS_KEY=your-access-key
|
|
385
|
+
BAIDU_OBS_ENDPOINT=your-server-url
|
|
386
|
+
|
|
387
|
+
# Supabase Storage Configuration
|
|
388
|
+
#
|
|
389
|
+
SUPABASE_BUCKET_NAME=your-bucket-name
|
|
390
|
+
SUPABASE_API_KEY=your-access-key
|
|
391
|
+
SUPABASE_URL=your-server-url
|
|
392
|
+
|
|
393
|
+
# ------------------------------
|
|
394
|
+
# Vector Database Configuration
|
|
395
|
+
# ------------------------------
|
|
396
|
+
|
|
397
|
+
# The type of vector store to use.
|
|
398
|
+
# Supported values are `weaviate`, `qdrant`, `milvus`, `myscale`, `relyt`, `pgvector`, `pgvecto-rs`, `chroma`, `opensearch`, `tidb_vector`, `oracle`, `tencent`, `elasticsearch`, `elasticsearch-ja`, `analyticdb`, `couchbase`, `vikingdb`, `oceanbase`, `opengauss`, `tablestore`.
|
|
399
|
+
VECTOR_STORE=weaviate
|
|
400
|
+
|
|
401
|
+
# The Weaviate endpoint URL. Only available when VECTOR_STORE is `weaviate`.
|
|
402
|
+
WEAVIATE_ENDPOINT=http://weaviate:8080
|
|
403
|
+
WEAVIATE_API_KEY=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
404
|
+
|
|
405
|
+
# The Qdrant endpoint URL. Only available when VECTOR_STORE is `qdrant`.
|
|
406
|
+
QDRANT_URL=http://qdrant:6333
|
|
407
|
+
QDRANT_API_KEY=difyai123456
|
|
408
|
+
QDRANT_CLIENT_TIMEOUT=20
|
|
409
|
+
QDRANT_GRPC_ENABLED=false
|
|
410
|
+
QDRANT_GRPC_PORT=6334
|
|
411
|
+
|
|
412
|
+
# Milvus configuration. Only available when VECTOR_STORE is `milvus`.
|
|
413
|
+
# The milvus uri.
|
|
414
|
+
MILVUS_URI=http://host.docker.internal:19530
|
|
415
|
+
MILVUS_DATABASE=
|
|
416
|
+
MILVUS_TOKEN=
|
|
417
|
+
MILVUS_USER=
|
|
418
|
+
MILVUS_PASSWORD=
|
|
419
|
+
MILVUS_ENABLE_HYBRID_SEARCH=False
|
|
420
|
+
MILVUS_ANALYZER_PARAMS=
|
|
421
|
+
|
|
422
|
+
# MyScale configuration, only available when VECTOR_STORE is `myscale`
|
|
423
|
+
# For multi-language support, please set MYSCALE_FTS_PARAMS with referring to:
|
|
424
|
+
# https://myscale.com/docs/en/text-search/#understanding-fts-index-parameters
|
|
425
|
+
MYSCALE_HOST=myscale
|
|
426
|
+
MYSCALE_PORT=8123
|
|
427
|
+
MYSCALE_USER=default
|
|
428
|
+
MYSCALE_PASSWORD=
|
|
429
|
+
MYSCALE_DATABASE=dify
|
|
430
|
+
MYSCALE_FTS_PARAMS=
|
|
431
|
+
|
|
432
|
+
# Couchbase configurations, only available when VECTOR_STORE is `couchbase`
|
|
433
|
+
# The connection string must include hostname defined in the docker-compose file (couchbase-server in this case)
|
|
434
|
+
COUCHBASE_CONNECTION_STRING=couchbase://couchbase-server
|
|
435
|
+
COUCHBASE_USER=Administrator
|
|
436
|
+
COUCHBASE_PASSWORD=password
|
|
437
|
+
COUCHBASE_BUCKET_NAME=Embeddings
|
|
438
|
+
COUCHBASE_SCOPE_NAME=_default
|
|
439
|
+
|
|
440
|
+
# pgvector configurations, only available when VECTOR_STORE is `pgvector`
|
|
441
|
+
PGVECTOR_HOST=pgvector
|
|
442
|
+
PGVECTOR_PORT=5432
|
|
443
|
+
PGVECTOR_USER=postgres
|
|
444
|
+
PGVECTOR_PASSWORD=difyai123456
|
|
445
|
+
PGVECTOR_DATABASE=dify
|
|
446
|
+
PGVECTOR_MIN_CONNECTION=1
|
|
447
|
+
PGVECTOR_MAX_CONNECTION=5
|
|
448
|
+
PGVECTOR_PG_BIGM=false
|
|
449
|
+
PGVECTOR_PG_BIGM_VERSION=1.2-20240606
|
|
450
|
+
|
|
451
|
+
# vastbase configurations, only available when VECTOR_STORE is `vastbase`
|
|
452
|
+
VASTBASE_HOST=vastbase
|
|
453
|
+
VASTBASE_PORT=5432
|
|
454
|
+
VASTBASE_USER=dify
|
|
455
|
+
VASTBASE_PASSWORD=Difyai123456
|
|
456
|
+
VASTBASE_DATABASE=dify
|
|
457
|
+
VASTBASE_MIN_CONNECTION=1
|
|
458
|
+
VASTBASE_MAX_CONNECTION=5
|
|
459
|
+
|
|
460
|
+
# pgvecto-rs configurations, only available when VECTOR_STORE is `pgvecto-rs`
|
|
461
|
+
PGVECTO_RS_HOST=pgvecto-rs
|
|
462
|
+
PGVECTO_RS_PORT=5432
|
|
463
|
+
PGVECTO_RS_USER=postgres
|
|
464
|
+
PGVECTO_RS_PASSWORD=difyai123456
|
|
465
|
+
PGVECTO_RS_DATABASE=dify
|
|
466
|
+
|
|
467
|
+
# analyticdb configurations, only available when VECTOR_STORE is `analyticdb`
|
|
468
|
+
ANALYTICDB_KEY_ID=your-ak
|
|
469
|
+
ANALYTICDB_KEY_SECRET=your-sk
|
|
470
|
+
ANALYTICDB_REGION_ID=cn-hangzhou
|
|
471
|
+
ANALYTICDB_INSTANCE_ID=gp-ab123456
|
|
472
|
+
ANALYTICDB_ACCOUNT=testaccount
|
|
473
|
+
ANALYTICDB_PASSWORD=testpassword
|
|
474
|
+
ANALYTICDB_NAMESPACE=dify
|
|
475
|
+
ANALYTICDB_NAMESPACE_PASSWORD=difypassword
|
|
476
|
+
ANALYTICDB_HOST=gp-test.aliyuncs.com
|
|
477
|
+
ANALYTICDB_PORT=5432
|
|
478
|
+
ANALYTICDB_MIN_CONNECTION=1
|
|
479
|
+
ANALYTICDB_MAX_CONNECTION=5
|
|
480
|
+
|
|
481
|
+
# TiDB vector configurations, only available when VECTOR_STORE is `tidb`
|
|
482
|
+
TIDB_VECTOR_HOST=tidb
|
|
483
|
+
TIDB_VECTOR_PORT=4000
|
|
484
|
+
TIDB_VECTOR_USER=
|
|
485
|
+
TIDB_VECTOR_PASSWORD=
|
|
486
|
+
TIDB_VECTOR_DATABASE=dify
|
|
487
|
+
|
|
488
|
+
# Tidb on qdrant configuration, only available when VECTOR_STORE is `tidb_on_qdrant`
|
|
489
|
+
TIDB_ON_QDRANT_URL=http://127.0.0.1
|
|
490
|
+
TIDB_ON_QDRANT_API_KEY=dify
|
|
491
|
+
TIDB_ON_QDRANT_CLIENT_TIMEOUT=20
|
|
492
|
+
TIDB_ON_QDRANT_GRPC_ENABLED=false
|
|
493
|
+
TIDB_ON_QDRANT_GRPC_PORT=6334
|
|
494
|
+
TIDB_PUBLIC_KEY=dify
|
|
495
|
+
TIDB_PRIVATE_KEY=dify
|
|
496
|
+
TIDB_API_URL=http://127.0.0.1
|
|
497
|
+
TIDB_IAM_API_URL=http://127.0.0.1
|
|
498
|
+
TIDB_REGION=regions/aws-us-east-1
|
|
499
|
+
TIDB_PROJECT_ID=dify
|
|
500
|
+
TIDB_SPEND_LIMIT=100
|
|
501
|
+
|
|
502
|
+
# Chroma configuration, only available when VECTOR_STORE is `chroma`
|
|
503
|
+
CHROMA_HOST=127.0.0.1
|
|
504
|
+
CHROMA_PORT=8000
|
|
505
|
+
CHROMA_TENANT=default_tenant
|
|
506
|
+
CHROMA_DATABASE=default_database
|
|
507
|
+
CHROMA_AUTH_PROVIDER=chromadb.auth.token_authn.TokenAuthClientProvider
|
|
508
|
+
CHROMA_AUTH_CREDENTIALS=
|
|
509
|
+
|
|
510
|
+
# Oracle configuration, only available when VECTOR_STORE is `oracle`
|
|
511
|
+
ORACLE_USER=dify
|
|
512
|
+
ORACLE_PASSWORD=dify
|
|
513
|
+
ORACLE_DSN=oracle:1521/FREEPDB1
|
|
514
|
+
ORACLE_CONFIG_DIR=/app/api/storage/wallet
|
|
515
|
+
ORACLE_WALLET_LOCATION=/app/api/storage/wallet
|
|
516
|
+
ORACLE_WALLET_PASSWORD=dify
|
|
517
|
+
ORACLE_IS_AUTONOMOUS=false
|
|
518
|
+
|
|
519
|
+
# relyt configurations, only available when VECTOR_STORE is `relyt`
|
|
520
|
+
RELYT_HOST=db
|
|
521
|
+
RELYT_PORT=5432
|
|
522
|
+
RELYT_USER=postgres
|
|
523
|
+
RELYT_PASSWORD=difyai123456
|
|
524
|
+
RELYT_DATABASE=postgres
|
|
525
|
+
|
|
526
|
+
# open search configuration, only available when VECTOR_STORE is `opensearch`
|
|
527
|
+
OPENSEARCH_HOST=opensearch
|
|
528
|
+
OPENSEARCH_PORT=9200
|
|
529
|
+
OPENSEARCH_USER=admin
|
|
530
|
+
OPENSEARCH_PASSWORD=admin
|
|
531
|
+
OPENSEARCH_SECURE=true
|
|
532
|
+
|
|
533
|
+
# tencent vector configurations, only available when VECTOR_STORE is `tencent`
|
|
534
|
+
TENCENT_VECTOR_DB_URL=http://127.0.0.1
|
|
535
|
+
TENCENT_VECTOR_DB_API_KEY=dify
|
|
536
|
+
TENCENT_VECTOR_DB_TIMEOUT=30
|
|
537
|
+
TENCENT_VECTOR_DB_USERNAME=dify
|
|
538
|
+
TENCENT_VECTOR_DB_DATABASE=dify
|
|
539
|
+
TENCENT_VECTOR_DB_SHARD=1
|
|
540
|
+
TENCENT_VECTOR_DB_REPLICAS=2
|
|
541
|
+
TENCENT_VECTOR_DB_ENABLE_HYBRID_SEARCH=false
|
|
542
|
+
|
|
543
|
+
# ElasticSearch configuration, only available when VECTOR_STORE is `elasticsearch`
|
|
544
|
+
ELASTICSEARCH_HOST=0.0.0.0
|
|
545
|
+
ELASTICSEARCH_PORT=9200
|
|
546
|
+
ELASTICSEARCH_USERNAME=elastic
|
|
547
|
+
ELASTICSEARCH_PASSWORD=elastic
|
|
548
|
+
KIBANA_PORT=5601
|
|
549
|
+
|
|
550
|
+
# baidu vector configurations, only available when VECTOR_STORE is `baidu`
|
|
551
|
+
BAIDU_VECTOR_DB_ENDPOINT=http://127.0.0.1:5287
|
|
552
|
+
BAIDU_VECTOR_DB_CONNECTION_TIMEOUT_MS=30000
|
|
553
|
+
BAIDU_VECTOR_DB_ACCOUNT=root
|
|
554
|
+
BAIDU_VECTOR_DB_API_KEY=dify
|
|
555
|
+
BAIDU_VECTOR_DB_DATABASE=dify
|
|
556
|
+
BAIDU_VECTOR_DB_SHARD=1
|
|
557
|
+
BAIDU_VECTOR_DB_REPLICAS=3
|
|
558
|
+
|
|
559
|
+
# VikingDB configurations, only available when VECTOR_STORE is `vikingdb`
|
|
560
|
+
VIKINGDB_ACCESS_KEY=your-ak
|
|
561
|
+
VIKINGDB_SECRET_KEY=your-sk
|
|
562
|
+
VIKINGDB_REGION=cn-shanghai
|
|
563
|
+
VIKINGDB_HOST=api-vikingdb.xxx.volces.com
|
|
564
|
+
VIKINGDB_SCHEMA=http
|
|
565
|
+
VIKINGDB_CONNECTION_TIMEOUT=30
|
|
566
|
+
VIKINGDB_SOCKET_TIMEOUT=30
|
|
567
|
+
|
|
568
|
+
# Lindorm configuration, only available when VECTOR_STORE is `lindorm`
|
|
569
|
+
LINDORM_URL=http://lindorm:30070
|
|
570
|
+
LINDORM_USERNAME=lindorm
|
|
571
|
+
LINDORM_PASSWORD=lindorm
|
|
572
|
+
LINDORM_QUERY_TIMEOUT=1
|
|
573
|
+
|
|
574
|
+
# OceanBase Vector configuration, only available when VECTOR_STORE is `oceanbase`
|
|
575
|
+
OCEANBASE_VECTOR_HOST=oceanbase
|
|
576
|
+
OCEANBASE_VECTOR_PORT=2881
|
|
577
|
+
OCEANBASE_VECTOR_USER=root@test
|
|
578
|
+
OCEANBASE_VECTOR_PASSWORD=difyai123456
|
|
579
|
+
OCEANBASE_VECTOR_DATABASE=test
|
|
580
|
+
OCEANBASE_CLUSTER_NAME=difyai
|
|
581
|
+
OCEANBASE_MEMORY_LIMIT=6G
|
|
582
|
+
OCEANBASE_ENABLE_HYBRID_SEARCH=false
|
|
583
|
+
|
|
584
|
+
# opengauss configurations, only available when VECTOR_STORE is `opengauss`
|
|
585
|
+
OPENGAUSS_HOST=opengauss
|
|
586
|
+
OPENGAUSS_PORT=6600
|
|
587
|
+
OPENGAUSS_USER=postgres
|
|
588
|
+
OPENGAUSS_PASSWORD=Dify@123
|
|
589
|
+
OPENGAUSS_DATABASE=dify
|
|
590
|
+
OPENGAUSS_MIN_CONNECTION=1
|
|
591
|
+
OPENGAUSS_MAX_CONNECTION=5
|
|
592
|
+
OPENGAUSS_ENABLE_PQ=false
|
|
593
|
+
|
|
594
|
+
# huawei cloud search service vector configurations, only available when VECTOR_STORE is `huawei_cloud`
|
|
595
|
+
HUAWEI_CLOUD_HOSTS=https://127.0.0.1:9200
|
|
596
|
+
HUAWEI_CLOUD_USER=admin
|
|
597
|
+
HUAWEI_CLOUD_PASSWORD=admin
|
|
598
|
+
|
|
599
|
+
# Upstash Vector configuration, only available when VECTOR_STORE is `upstash`
|
|
600
|
+
UPSTASH_VECTOR_URL=https://xxx-vector.upstash.io
|
|
601
|
+
UPSTASH_VECTOR_TOKEN=dify
|
|
602
|
+
|
|
603
|
+
# TableStore Vector configuration
|
|
604
|
+
# (only used when VECTOR_STORE is tablestore)
|
|
605
|
+
TABLESTORE_ENDPOINT=https://instance-name.cn-hangzhou.ots.aliyuncs.com
|
|
606
|
+
TABLESTORE_INSTANCE_NAME=instance-name
|
|
607
|
+
TABLESTORE_ACCESS_KEY_ID=xxx
|
|
608
|
+
TABLESTORE_ACCESS_KEY_SECRET=xxx
|
|
609
|
+
|
|
610
|
+
# ------------------------------
|
|
611
|
+
# Knowledge Configuration
|
|
612
|
+
# ------------------------------
|
|
613
|
+
|
|
614
|
+
# Upload file size limit, default 15M.
|
|
615
|
+
UPLOAD_FILE_SIZE_LIMIT=15
|
|
616
|
+
|
|
617
|
+
# The maximum number of files that can be uploaded at a time, default 5.
|
|
618
|
+
UPLOAD_FILE_BATCH_LIMIT=5
|
|
619
|
+
|
|
620
|
+
# ETL type, support: `dify`, `Unstructured`
|
|
621
|
+
# `dify` Dify's proprietary file extraction scheme
|
|
622
|
+
# `Unstructured` Unstructured.io file extraction scheme
|
|
623
|
+
ETL_TYPE=dify
|
|
624
|
+
|
|
625
|
+
# Unstructured API path and API key, needs to be configured when ETL_TYPE is Unstructured
|
|
626
|
+
# Or using Unstructured for document extractor node for pptx.
|
|
627
|
+
# For example: http://unstructured:8000/general/v0/general
|
|
628
|
+
UNSTRUCTURED_API_URL=
|
|
629
|
+
UNSTRUCTURED_API_KEY=
|
|
630
|
+
SCARF_NO_ANALYTICS=true
|
|
631
|
+
|
|
632
|
+
# ------------------------------
|
|
633
|
+
# Model Configuration
|
|
634
|
+
# ------------------------------
|
|
635
|
+
|
|
636
|
+
# The maximum number of tokens allowed for prompt generation.
|
|
637
|
+
# This setting controls the upper limit of tokens that can be used by the LLM
|
|
638
|
+
# when generating a prompt in the prompt generation tool.
|
|
639
|
+
# Default: 512 tokens.
|
|
640
|
+
PROMPT_GENERATION_MAX_TOKENS=512
|
|
641
|
+
|
|
642
|
+
# The maximum number of tokens allowed for code generation.
|
|
643
|
+
# This setting controls the upper limit of tokens that can be used by the LLM
|
|
644
|
+
# when generating code in the code generation tool.
|
|
645
|
+
# Default: 1024 tokens.
|
|
646
|
+
CODE_GENERATION_MAX_TOKENS=1024
|
|
647
|
+
|
|
648
|
+
# Enable or disable plugin based token counting. If disabled, token counting will return 0.
|
|
649
|
+
# This can improve performance by skipping token counting operations.
|
|
650
|
+
# Default: false (disabled).
|
|
651
|
+
PLUGIN_BASED_TOKEN_COUNTING_ENABLED=false
|
|
652
|
+
|
|
653
|
+
# ------------------------------
|
|
654
|
+
# Multi-modal Configuration
|
|
655
|
+
# ------------------------------
|
|
656
|
+
|
|
657
|
+
# The format of the image/video/audio/document sent when the multi-modal model is input,
|
|
658
|
+
# the default is base64, optional url.
|
|
659
|
+
# The delay of the call in url mode will be lower than that in base64 mode.
|
|
660
|
+
# It is generally recommended to use the more compatible base64 mode.
|
|
661
|
+
# If configured as url, you need to configure FILES_URL as an externally accessible address so that the multi-modal model can access the image/video/audio/document.
|
|
662
|
+
MULTIMODAL_SEND_FORMAT=base64
|
|
663
|
+
# Upload image file size limit, default 10M.
|
|
664
|
+
UPLOAD_IMAGE_FILE_SIZE_LIMIT=10
|
|
665
|
+
# Upload video file size limit, default 100M.
|
|
666
|
+
UPLOAD_VIDEO_FILE_SIZE_LIMIT=100
|
|
667
|
+
# Upload audio file size limit, default 50M.
|
|
668
|
+
UPLOAD_AUDIO_FILE_SIZE_LIMIT=50
|
|
669
|
+
|
|
670
|
+
# ------------------------------
|
|
671
|
+
# Sentry Configuration
|
|
672
|
+
# Used for application monitoring and error log tracking.
|
|
673
|
+
# ------------------------------
|
|
674
|
+
SENTRY_DSN=
|
|
675
|
+
|
|
676
|
+
# API Service Sentry DSN address, default is empty, when empty,
|
|
677
|
+
# all monitoring information is not reported to Sentry.
|
|
678
|
+
# If not set, Sentry error reporting will be disabled.
|
|
679
|
+
API_SENTRY_DSN=
|
|
680
|
+
# API Service The reporting ratio of Sentry events, if it is 0.01, it is 1%.
|
|
681
|
+
API_SENTRY_TRACES_SAMPLE_RATE=1.0
|
|
682
|
+
# API Service The reporting ratio of Sentry profiles, if it is 0.01, it is 1%.
|
|
683
|
+
API_SENTRY_PROFILES_SAMPLE_RATE=1.0
|
|
684
|
+
|
|
685
|
+
# Web Service Sentry DSN address, default is empty, when empty,
|
|
686
|
+
# all monitoring information is not reported to Sentry.
|
|
687
|
+
# If not set, Sentry error reporting will be disabled.
|
|
688
|
+
WEB_SENTRY_DSN=
|
|
689
|
+
|
|
690
|
+
# ------------------------------
|
|
691
|
+
# Notion Integration Configuration
|
|
692
|
+
# Variables can be obtained by applying for Notion integration: https://www.notion.so/my-integrations
|
|
693
|
+
# ------------------------------
|
|
694
|
+
|
|
695
|
+
# Configure as "public" or "internal".
|
|
696
|
+
# Since Notion's OAuth redirect URL only supports HTTPS,
|
|
697
|
+
# if deploying locally, please use Notion's internal integration.
|
|
698
|
+
NOTION_INTEGRATION_TYPE=public
|
|
699
|
+
# Notion OAuth client secret (used for public integration type)
|
|
700
|
+
NOTION_CLIENT_SECRET=
|
|
701
|
+
# Notion OAuth client id (used for public integration type)
|
|
702
|
+
NOTION_CLIENT_ID=
|
|
703
|
+
# Notion internal integration secret.
|
|
704
|
+
# If the value of NOTION_INTEGRATION_TYPE is "internal",
|
|
705
|
+
# you need to configure this variable.
|
|
706
|
+
NOTION_INTERNAL_SECRET=
|
|
707
|
+
|
|
708
|
+
# ------------------------------
|
|
709
|
+
# Mail related configuration
|
|
710
|
+
# ------------------------------
|
|
711
|
+
|
|
712
|
+
# Mail type, support: resend, smtp
|
|
713
|
+
MAIL_TYPE=resend
|
|
714
|
+
|
|
715
|
+
# Default send from email address, if not specified
|
|
716
|
+
MAIL_DEFAULT_SEND_FROM=
|
|
717
|
+
|
|
718
|
+
# API-Key for the Resend email provider, used when MAIL_TYPE is `resend`.
|
|
719
|
+
RESEND_API_URL=https://api.resend.com
|
|
720
|
+
RESEND_API_KEY=your-resend-api-key
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
# SMTP server configuration, used when MAIL_TYPE is `smtp`
|
|
724
|
+
SMTP_SERVER=
|
|
725
|
+
SMTP_PORT=465
|
|
726
|
+
SMTP_USERNAME=
|
|
727
|
+
SMTP_PASSWORD=
|
|
728
|
+
SMTP_USE_TLS=true
|
|
729
|
+
SMTP_OPPORTUNISTIC_TLS=false
|
|
730
|
+
|
|
731
|
+
# ------------------------------
|
|
732
|
+
# Others Configuration
|
|
733
|
+
# ------------------------------
|
|
734
|
+
|
|
735
|
+
# Maximum length of segmentation tokens for indexing
|
|
736
|
+
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
|
|
737
|
+
|
|
738
|
+
# Member invitation link valid time (hours),
|
|
739
|
+
# Default: 72.
|
|
740
|
+
INVITE_EXPIRY_HOURS=72
|
|
741
|
+
|
|
742
|
+
# Reset password token valid time (minutes),
|
|
743
|
+
RESET_PASSWORD_TOKEN_EXPIRY_MINUTES=5
|
|
744
|
+
|
|
745
|
+
# The sandbox service endpoint.
|
|
746
|
+
CODE_EXECUTION_ENDPOINT=http://sandbox:8194
|
|
747
|
+
CODE_EXECUTION_API_KEY=dify-sandbox
|
|
748
|
+
CODE_MAX_NUMBER=9223372036854775807
|
|
749
|
+
CODE_MIN_NUMBER=-9223372036854775808
|
|
750
|
+
CODE_MAX_DEPTH=5
|
|
751
|
+
CODE_MAX_PRECISION=20
|
|
752
|
+
CODE_MAX_STRING_LENGTH=80000
|
|
753
|
+
CODE_MAX_STRING_ARRAY_LENGTH=30
|
|
754
|
+
CODE_MAX_OBJECT_ARRAY_LENGTH=30
|
|
755
|
+
CODE_MAX_NUMBER_ARRAY_LENGTH=1000
|
|
756
|
+
CODE_EXECUTION_CONNECT_TIMEOUT=10
|
|
757
|
+
CODE_EXECUTION_READ_TIMEOUT=60
|
|
758
|
+
CODE_EXECUTION_WRITE_TIMEOUT=10
|
|
759
|
+
TEMPLATE_TRANSFORM_MAX_LENGTH=80000
|
|
760
|
+
|
|
761
|
+
# Workflow runtime configuration
|
|
762
|
+
WORKFLOW_MAX_EXECUTION_STEPS=500
|
|
763
|
+
WORKFLOW_MAX_EXECUTION_TIME=1200
|
|
764
|
+
WORKFLOW_CALL_MAX_DEPTH=5
|
|
765
|
+
MAX_VARIABLE_SIZE=204800
|
|
766
|
+
WORKFLOW_PARALLEL_DEPTH_LIMIT=3
|
|
767
|
+
WORKFLOW_FILE_UPLOAD_LIMIT=10
|
|
768
|
+
|
|
769
|
+
# Workflow storage configuration
|
|
770
|
+
# Options: rdbms, hybrid
|
|
771
|
+
# rdbms: Use only the relational database (default)
|
|
772
|
+
# hybrid: Save new data to object storage, read from both object storage and RDBMS
|
|
773
|
+
WORKFLOW_NODE_EXECUTION_STORAGE=rdbms
|
|
774
|
+
|
|
775
|
+
# HTTP request node in workflow configuration
|
|
776
|
+
HTTP_REQUEST_NODE_MAX_BINARY_SIZE=10485760
|
|
777
|
+
HTTP_REQUEST_NODE_MAX_TEXT_SIZE=1048576
|
|
778
|
+
HTTP_REQUEST_NODE_SSL_VERIFY=True
|
|
779
|
+
|
|
780
|
+
# SSRF Proxy server HTTP URL
|
|
781
|
+
SSRF_PROXY_HTTP_URL=http://ssrf_proxy:3128
|
|
782
|
+
# SSRF Proxy server HTTPS URL
|
|
783
|
+
SSRF_PROXY_HTTPS_URL=http://ssrf_proxy:3128
|
|
784
|
+
|
|
785
|
+
# Maximum loop count in the workflow
|
|
786
|
+
LOOP_NODE_MAX_COUNT=100
|
|
787
|
+
|
|
788
|
+
# The maximum number of tools that can be used in the agent.
|
|
789
|
+
MAX_TOOLS_NUM=10
|
|
790
|
+
|
|
791
|
+
# Maximum number of Parallelism branches in the workflow
|
|
792
|
+
MAX_PARALLEL_LIMIT=10
|
|
793
|
+
|
|
794
|
+
# The maximum number of iterations for agent setting
|
|
795
|
+
MAX_ITERATIONS_NUM=5
|
|
796
|
+
|
|
797
|
+
# ------------------------------
|
|
798
|
+
# Environment Variables for web Service
|
|
799
|
+
# ------------------------------
|
|
800
|
+
|
|
801
|
+
# The timeout for the text generation in millisecond
|
|
802
|
+
TEXT_GENERATION_TIMEOUT_MS=60000
|
|
803
|
+
|
|
804
|
+
# ------------------------------
|
|
805
|
+
# Environment Variables for db Service
|
|
806
|
+
# ------------------------------
|
|
807
|
+
|
|
808
|
+
PGUSER=${DB_USERNAME}
|
|
809
|
+
# The password for the default postgres user.
|
|
810
|
+
POSTGRES_PASSWORD=${DB_PASSWORD}
|
|
811
|
+
# The name of the default postgres database.
|
|
812
|
+
POSTGRES_DB=${DB_DATABASE}
|
|
813
|
+
# postgres data directory
|
|
814
|
+
PGDATA=/var/lib/postgresql/data/pgdata
|
|
815
|
+
|
|
816
|
+
# ------------------------------
|
|
817
|
+
# Environment Variables for sandbox Service
|
|
818
|
+
# ------------------------------
|
|
819
|
+
|
|
820
|
+
# The API key for the sandbox service
|
|
821
|
+
SANDBOX_API_KEY=dify-sandbox
|
|
822
|
+
# The mode in which the Gin framework runs
|
|
823
|
+
SANDBOX_GIN_MODE=release
|
|
824
|
+
# The timeout for the worker in seconds
|
|
825
|
+
SANDBOX_WORKER_TIMEOUT=15
|
|
826
|
+
# Enable network for the sandbox service
|
|
827
|
+
SANDBOX_ENABLE_NETWORK=true
|
|
828
|
+
# HTTP proxy URL for SSRF protection
|
|
829
|
+
SANDBOX_HTTP_PROXY=http://ssrf_proxy:3128
|
|
830
|
+
# HTTPS proxy URL for SSRF protection
|
|
831
|
+
SANDBOX_HTTPS_PROXY=http://ssrf_proxy:3128
|
|
832
|
+
# The port on which the sandbox service runs
|
|
833
|
+
SANDBOX_PORT=8194
|
|
834
|
+
|
|
835
|
+
# ------------------------------
|
|
836
|
+
# Environment Variables for weaviate Service
|
|
837
|
+
# (only used when VECTOR_STORE is weaviate)
|
|
838
|
+
# ------------------------------
|
|
839
|
+
WEAVIATE_PERSISTENCE_DATA_PATH=/var/lib/weaviate
|
|
840
|
+
WEAVIATE_QUERY_DEFAULTS_LIMIT=25
|
|
841
|
+
WEAVIATE_AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true
|
|
842
|
+
WEAVIATE_DEFAULT_VECTORIZER_MODULE=none
|
|
843
|
+
WEAVIATE_CLUSTER_HOSTNAME=node1
|
|
844
|
+
WEAVIATE_AUTHENTICATION_APIKEY_ENABLED=true
|
|
845
|
+
WEAVIATE_AUTHENTICATION_APIKEY_ALLOWED_KEYS=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
846
|
+
WEAVIATE_AUTHENTICATION_APIKEY_USERS=hello@dify.ai
|
|
847
|
+
WEAVIATE_AUTHORIZATION_ADMINLIST_ENABLED=true
|
|
848
|
+
WEAVIATE_AUTHORIZATION_ADMINLIST_USERS=hello@dify.ai
|
|
849
|
+
|
|
850
|
+
# ------------------------------
|
|
851
|
+
# Environment Variables for Chroma
|
|
852
|
+
# (only used when VECTOR_STORE is chroma)
|
|
853
|
+
# ------------------------------
|
|
854
|
+
|
|
855
|
+
# Authentication credentials for Chroma server
|
|
856
|
+
CHROMA_SERVER_AUTHN_CREDENTIALS=difyai123456
|
|
857
|
+
# Authentication provider for Chroma server
|
|
858
|
+
CHROMA_SERVER_AUTHN_PROVIDER=chromadb.auth.token_authn.TokenAuthenticationServerProvider
|
|
859
|
+
# Persistence setting for Chroma server
|
|
860
|
+
CHROMA_IS_PERSISTENT=TRUE
|
|
861
|
+
|
|
862
|
+
# ------------------------------
|
|
863
|
+
# Environment Variables for Oracle Service
|
|
864
|
+
# (only used when VECTOR_STORE is Oracle)
|
|
865
|
+
# ------------------------------
|
|
866
|
+
ORACLE_PWD=Dify123456
|
|
867
|
+
ORACLE_CHARACTERSET=AL32UTF8
|
|
868
|
+
|
|
869
|
+
# ------------------------------
|
|
870
|
+
# Environment Variables for milvus Service
|
|
871
|
+
# (only used when VECTOR_STORE is milvus)
|
|
872
|
+
# ------------------------------
|
|
873
|
+
# ETCD configuration for auto compaction mode
|
|
874
|
+
ETCD_AUTO_COMPACTION_MODE=revision
|
|
875
|
+
# ETCD configuration for auto compaction retention in terms of number of revisions
|
|
876
|
+
ETCD_AUTO_COMPACTION_RETENTION=1000
|
|
877
|
+
# ETCD configuration for backend quota in bytes
|
|
878
|
+
ETCD_QUOTA_BACKEND_BYTES=4294967296
|
|
879
|
+
# ETCD configuration for the number of changes before triggering a snapshot
|
|
880
|
+
ETCD_SNAPSHOT_COUNT=50000
|
|
881
|
+
# MinIO access key for authentication
|
|
882
|
+
MINIO_ACCESS_KEY=minioadmin
|
|
883
|
+
# MinIO secret key for authentication
|
|
884
|
+
MINIO_SECRET_KEY=minioadmin
|
|
885
|
+
# ETCD service endpoints
|
|
886
|
+
ETCD_ENDPOINTS=etcd:2379
|
|
887
|
+
# MinIO service address
|
|
888
|
+
MINIO_ADDRESS=minio:9000
|
|
889
|
+
# Enable or disable security authorization
|
|
890
|
+
MILVUS_AUTHORIZATION_ENABLED=true
|
|
891
|
+
|
|
892
|
+
# ------------------------------
|
|
893
|
+
# Environment Variables for pgvector / pgvector-rs Service
|
|
894
|
+
# (only used when VECTOR_STORE is pgvector / pgvector-rs)
|
|
895
|
+
# ------------------------------
|
|
896
|
+
PGVECTOR_PGUSER=postgres
|
|
897
|
+
# The password for the default postgres user.
|
|
898
|
+
PGVECTOR_POSTGRES_PASSWORD=difyai123456
|
|
899
|
+
# The name of the default postgres database.
|
|
900
|
+
PGVECTOR_POSTGRES_DB=dify
|
|
901
|
+
# postgres data directory
|
|
902
|
+
PGVECTOR_PGDATA=/var/lib/postgresql/data/pgdata
|
|
903
|
+
|
|
904
|
+
# ------------------------------
|
|
905
|
+
# Environment Variables for opensearch
|
|
906
|
+
# (only used when VECTOR_STORE is opensearch)
|
|
907
|
+
# ------------------------------
|
|
908
|
+
OPENSEARCH_DISCOVERY_TYPE=single-node
|
|
909
|
+
OPENSEARCH_BOOTSTRAP_MEMORY_LOCK=true
|
|
910
|
+
OPENSEARCH_JAVA_OPTS_MIN=512m
|
|
911
|
+
OPENSEARCH_JAVA_OPTS_MAX=1024m
|
|
912
|
+
OPENSEARCH_INITIAL_ADMIN_PASSWORD=Qazwsxedc!@#123
|
|
913
|
+
OPENSEARCH_MEMLOCK_SOFT=-1
|
|
914
|
+
OPENSEARCH_MEMLOCK_HARD=-1
|
|
915
|
+
OPENSEARCH_NOFILE_SOFT=65536
|
|
916
|
+
OPENSEARCH_NOFILE_HARD=65536
|
|
917
|
+
|
|
918
|
+
# ------------------------------
|
|
919
|
+
# Environment Variables for Nginx reverse proxy
|
|
920
|
+
# ------------------------------
|
|
921
|
+
NGINX_SERVER_NAME=_
|
|
922
|
+
NGINX_HTTPS_ENABLED=false
|
|
923
|
+
# HTTP port
|
|
924
|
+
NGINX_PORT=80
|
|
925
|
+
# SSL settings are only applied when HTTPS_ENABLED is true
|
|
926
|
+
NGINX_SSL_PORT=443
|
|
927
|
+
# if HTTPS_ENABLED is true, you're required to add your own SSL certificates/keys to the `./nginx/ssl` directory
|
|
928
|
+
# and modify the env vars below accordingly.
|
|
929
|
+
NGINX_SSL_CERT_FILENAME=dify.crt
|
|
930
|
+
NGINX_SSL_CERT_KEY_FILENAME=dify.key
|
|
931
|
+
NGINX_SSL_PROTOCOLS=TLSv1.1 TLSv1.2 TLSv1.3
|
|
932
|
+
|
|
933
|
+
# Nginx performance tuning
|
|
934
|
+
NGINX_WORKER_PROCESSES=auto
|
|
935
|
+
NGINX_CLIENT_MAX_BODY_SIZE=15M
|
|
936
|
+
NGINX_KEEPALIVE_TIMEOUT=65
|
|
937
|
+
|
|
938
|
+
# Proxy settings
|
|
939
|
+
NGINX_PROXY_READ_TIMEOUT=3600s
|
|
940
|
+
NGINX_PROXY_SEND_TIMEOUT=3600s
|
|
941
|
+
|
|
942
|
+
# Set true to accept requests for /.well-known/acme-challenge/
|
|
943
|
+
NGINX_ENABLE_CERTBOT_CHALLENGE=false
|
|
944
|
+
|
|
945
|
+
# ------------------------------
|
|
946
|
+
# Certbot Configuration
|
|
947
|
+
# ------------------------------
|
|
948
|
+
|
|
949
|
+
# Email address (required to get certificates from Let's Encrypt)
|
|
950
|
+
CERTBOT_EMAIL=your_email@example.com
|
|
951
|
+
|
|
952
|
+
# Domain name
|
|
953
|
+
CERTBOT_DOMAIN=your_domain.com
|
|
954
|
+
|
|
955
|
+
# certbot command options
|
|
956
|
+
# i.e: --force-renewal --dry-run --test-cert --debug
|
|
957
|
+
CERTBOT_OPTIONS=
|
|
958
|
+
|
|
959
|
+
# ------------------------------
|
|
960
|
+
# Environment Variables for SSRF Proxy
|
|
961
|
+
# ------------------------------
|
|
962
|
+
SSRF_HTTP_PORT=3128
|
|
963
|
+
SSRF_COREDUMP_DIR=/var/spool/squid
|
|
964
|
+
SSRF_REVERSE_PROXY_PORT=8194
|
|
965
|
+
SSRF_SANDBOX_HOST=sandbox
|
|
966
|
+
SSRF_DEFAULT_TIME_OUT=5
|
|
967
|
+
SSRF_DEFAULT_CONNECT_TIME_OUT=5
|
|
968
|
+
SSRF_DEFAULT_READ_TIME_OUT=5
|
|
969
|
+
SSRF_DEFAULT_WRITE_TIME_OUT=5
|
|
970
|
+
|
|
971
|
+
# ------------------------------
|
|
972
|
+
# docker env var for specifying vector db type at startup
|
|
973
|
+
# (based on the vector db type, the corresponding docker
|
|
974
|
+
# compose profile will be used)
|
|
975
|
+
# if you want to use unstructured, add ',unstructured' to the end
|
|
976
|
+
# ------------------------------
|
|
977
|
+
COMPOSE_PROFILES=${VECTOR_STORE:-weaviate}
|
|
978
|
+
|
|
979
|
+
# ------------------------------
|
|
980
|
+
# Docker Compose Service Expose Host Port Configurations
|
|
981
|
+
# ------------------------------
|
|
982
|
+
EXPOSE_NGINX_PORT=80
|
|
983
|
+
EXPOSE_NGINX_SSL_PORT=443
|
|
984
|
+
|
|
985
|
+
# ----------------------------------------------------------------------------
|
|
986
|
+
# ModelProvider & Tool Position Configuration
|
|
987
|
+
# Used to specify the model providers and tools that can be used in the app.
|
|
988
|
+
# ----------------------------------------------------------------------------
|
|
989
|
+
|
|
990
|
+
# Pin, include, and exclude tools
|
|
991
|
+
# Use comma-separated values with no spaces between items.
|
|
992
|
+
# Example: POSITION_TOOL_PINS=bing,google
|
|
993
|
+
POSITION_TOOL_PINS=
|
|
994
|
+
POSITION_TOOL_INCLUDES=
|
|
995
|
+
POSITION_TOOL_EXCLUDES=
|
|
996
|
+
|
|
997
|
+
# Pin, include, and exclude model providers
|
|
998
|
+
# Use comma-separated values with no spaces between items.
|
|
999
|
+
# Example: POSITION_PROVIDER_PINS=openai,openllm
|
|
1000
|
+
POSITION_PROVIDER_PINS=
|
|
1001
|
+
POSITION_PROVIDER_INCLUDES=
|
|
1002
|
+
POSITION_PROVIDER_EXCLUDES=
|
|
1003
|
+
|
|
1004
|
+
# CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
|
|
1005
|
+
CSP_WHITELIST=
|
|
1006
|
+
|
|
1007
|
+
# Enable or disable create tidb service job
|
|
1008
|
+
CREATE_TIDB_SERVICE_JOB_ENABLED=false
|
|
1009
|
+
|
|
1010
|
+
# Maximum number of submitted thread count in a ThreadPool for parallel node execution
|
|
1011
|
+
MAX_SUBMIT_COUNT=100
|
|
1012
|
+
|
|
1013
|
+
# The maximum number of top-k value for RAG.
|
|
1014
|
+
TOP_K_MAX_VALUE=10
|
|
1015
|
+
|
|
1016
|
+
# ------------------------------
|
|
1017
|
+
# Plugin Daemon Configuration
|
|
1018
|
+
# ------------------------------
|
|
1019
|
+
|
|
1020
|
+
DB_PLUGIN_DATABASE=dify_plugin
|
|
1021
|
+
EXPOSE_PLUGIN_DAEMON_PORT=5002
|
|
1022
|
+
PLUGIN_DAEMON_PORT=5002
|
|
1023
|
+
PLUGIN_DAEMON_KEY=lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi
|
|
1024
|
+
PLUGIN_DAEMON_URL=http://plugin_daemon:5002
|
|
1025
|
+
PLUGIN_MAX_PACKAGE_SIZE=52428800
|
|
1026
|
+
PLUGIN_PPROF_ENABLED=false
|
|
1027
|
+
|
|
1028
|
+
PLUGIN_DEBUGGING_HOST=0.0.0.0
|
|
1029
|
+
PLUGIN_DEBUGGING_PORT=5003
|
|
1030
|
+
EXPOSE_PLUGIN_DEBUGGING_HOST=localhost
|
|
1031
|
+
EXPOSE_PLUGIN_DEBUGGING_PORT=5003
|
|
1032
|
+
|
|
1033
|
+
# If this key is changed, DIFY_INNER_API_KEY in plugin_daemon service must also be updated or agent node will fail.
|
|
1034
|
+
PLUGIN_DIFY_INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
|
|
1035
|
+
PLUGIN_DIFY_INNER_API_URL=http://api:5001
|
|
1036
|
+
|
|
1037
|
+
ENDPOINT_URL_TEMPLATE=http://localhost/e/{hook_id}
|
|
1038
|
+
|
|
1039
|
+
MARKETPLACE_ENABLED=true
|
|
1040
|
+
MARKETPLACE_API_URL=https://marketplace.dify.ai
|
|
1041
|
+
|
|
1042
|
+
FORCE_VERIFYING_SIGNATURE=true
|
|
1043
|
+
|
|
1044
|
+
PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120
|
|
1045
|
+
PLUGIN_MAX_EXECUTION_TIMEOUT=600
|
|
1046
|
+
# PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
|
1047
|
+
PIP_MIRROR_URL=
|
|
1048
|
+
|
|
1049
|
+
# https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example
|
|
1050
|
+
# Plugin storage type, local aws_s3 tencent_cos azure_blob
|
|
1051
|
+
PLUGIN_STORAGE_TYPE=local
|
|
1052
|
+
PLUGIN_STORAGE_LOCAL_ROOT=/app/storage
|
|
1053
|
+
PLUGIN_WORKING_PATH=/app/storage/cwd
|
|
1054
|
+
PLUGIN_INSTALLED_PATH=plugin
|
|
1055
|
+
PLUGIN_PACKAGE_CACHE_PATH=plugin_packages
|
|
1056
|
+
PLUGIN_MEDIA_CACHE_PATH=assets
|
|
1057
|
+
# Plugin oss bucket
|
|
1058
|
+
PLUGIN_STORAGE_OSS_BUCKET=
|
|
1059
|
+
# Plugin oss s3 credentials
|
|
1060
|
+
PLUGIN_S3_USE_AWS_MANAGED_IAM=false
|
|
1061
|
+
PLUGIN_S3_ENDPOINT=
|
|
1062
|
+
PLUGIN_S3_USE_PATH_STYLE=false
|
|
1063
|
+
PLUGIN_AWS_ACCESS_KEY=
|
|
1064
|
+
PLUGIN_AWS_SECRET_KEY=
|
|
1065
|
+
PLUGIN_AWS_REGION=
|
|
1066
|
+
# Plugin oss azure blob
|
|
1067
|
+
PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME=
|
|
1068
|
+
PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING=
|
|
1069
|
+
# Plugin oss tencent cos
|
|
1070
|
+
PLUGIN_TENCENT_COS_SECRET_KEY=
|
|
1071
|
+
PLUGIN_TENCENT_COS_SECRET_ID=
|
|
1072
|
+
PLUGIN_TENCENT_COS_REGION=
|
|
1073
|
+
|
|
1074
|
+
# ------------------------------
|
|
1075
|
+
# OTLP Collector Configuration
|
|
1076
|
+
# ------------------------------
|
|
1077
|
+
ENABLE_OTEL=false
|
|
1078
|
+
OTLP_BASE_ENDPOINT=http://localhost:4318
|
|
1079
|
+
OTLP_API_KEY=
|
|
1080
|
+
OTEL_EXPORTER_TYPE=otlp
|
|
1081
|
+
OTEL_SAMPLING_RATE=0.1
|
|
1082
|
+
OTEL_BATCH_EXPORT_SCHEDULE_DELAY=5000
|
|
1083
|
+
OTEL_MAX_QUEUE_SIZE=2048
|
|
1084
|
+
OTEL_MAX_EXPORT_BATCH_SIZE=512
|
|
1085
|
+
OTEL_METRIC_EXPORT_INTERVAL=60000
|
|
1086
|
+
OTEL_BATCH_EXPORT_TIMEOUT=10000
|
|
1087
|
+
OTEL_METRIC_EXPORT_TIMEOUT=30000
|
|
1088
|
+
|
|
1089
|
+
# Prevent Clickjacking
|
|
1090
|
+
ALLOW_EMBED=false
|