大量更新
This commit is contained in:
22
0-部署应用/Dify-AI-Center/crawl4AI/craw4ai-docker-compose.yml
Normal file
22
0-部署应用/Dify-AI-Center/crawl4AI/craw4ai-docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
crawl4ai:
|
||||
image: unclecode/crawl4ai:basic
|
||||
ports:
|
||||
- "1235:11235"
|
||||
environment:
|
||||
- CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-} # Optional API security
|
||||
- MAX_CONCURRENT_TASKS=${CRAWL4AI_API_TOKEN:-}
|
||||
# LLM Provider Keys
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
||||
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
|
||||
volumes:
|
||||
- /dev/shm:/dev/shm
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 4G
|
||||
reservations:
|
||||
memory: 1G
|
||||
9
0-部署应用/Dify-AI-Center/crawl4AI/环境变量.env
Normal file
9
0-部署应用/Dify-AI-Center/crawl4AI/环境变量.env
Normal file
@@ -0,0 +1,9 @@
|
||||
# API Security (optional)
|
||||
CRAWL4AI_API_TOKEN=EP53z52yx1r8k87G7y34AMojqpCHU4eMxO1MEGOBwa5mlDYe
|
||||
|
||||
# LLM Provider Keys
|
||||
OPENAI_API_KEY=sk-proj-lCRIbBe3ex7VJP5GzAklT3BlbkFJbOcB4cXRQKk7pNZjBCHM
|
||||
GEMINI_API_KEY=AIzaSyBv2JN5aY_OKDI5e1aVEf6uDQli65X9NZM
|
||||
|
||||
# Other Configuration
|
||||
MAX_CONCURRENT_TASKS=5
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
0-部署应用/Dify-AI-Center/股票咨询工作流-ethinvestmentlab/输出内容.md
Normal file
6
0-部署应用/Dify-AI-Center/股票咨询工作流-ethinvestmentlab/输出内容.md
Normal file
@@ -0,0 +1,6 @@
|
||||
这篇文章揭露了豆粕市场崩盘背后的资本博弈和行业乱象,核心内容包括:
|
||||
1. **资本操控**:豆粕价格暴跌并非单纯市场供需所致,而是压榨巨头和饲料企业为争夺定价权进行的资本博弈,散户成为牺牲品。
|
||||
1. **需求疲软假象**:所谓的“需求疲软”实则是饲料企业为保利润调整配方,减少豆粕用量,而养殖户因成本上升和猪周期下行遭受重创。
|
||||
1. **开工率谎言**:压榨企业通过“停机检修”人为控制供应,制造紧张假象以操纵价格,同时过度依赖进口大豆威胁国内农业生态和产业安全。
|
||||
2. **库存猫腻**:“缺豆不缺粕”的异常现象暗示压榨企业和贸易商囤积居奇,通过信息不对称和低买高卖剥削散户。
|
||||
1. **未来预测争议**:卓创资讯对4月豆粕价格走势的预测被质疑可能受利益集团影响,提醒投资者保持独立判断,警惕市场陷阱。
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 1GB 1048576 5G 1048576 8G 8388608
|
||||
sudo modprobe brd rd_nr=1 rd_size=8388608 max_part=1
|
||||
sudo modprobe brd rd_nr=1 rd_size=1048576 max_part=1
|
||||
|
||||
sudo mkfs.ext4 /dev/ram0
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
postgresql:
|
||||
image: docker.io/bitnami/postgresql:15
|
||||
volumes:
|
||||
- '/data/gitea/postgresql_data/:/bitnami/postgresql'
|
||||
- '/var/lib/docker/wdd/gitea/postgresql_data/:/bitnami/postgresql'
|
||||
environment:
|
||||
- POSTGRESQL_DATABASE=gitea_db
|
||||
- POSTGRESQL_USERNAME=bn_gitea
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
gitea:
|
||||
image: docker.io/bitnami/gitea:1.19.3-debian-11-r0
|
||||
volumes:
|
||||
- '/data/gitea/gitea_data:/bitnami/gitea'
|
||||
- '/var/lib/docker/wdd/gitea/gitea_data:/bitnami/gitea'
|
||||
environment:
|
||||
- GITEA_DATABASE_HOST=postgresql
|
||||
- GITEA_DATABASE_NAME=gitea_db
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
- GITEA_HTTP_PORT=3000
|
||||
- GITEA_SSH_LISTEN_PORT=22222
|
||||
- GITEA_APP_NAME=Gitea-闲下来就喝杯茶吧
|
||||
- GITEA_DOMAIN=192.168.35.70
|
||||
- GITEA_DOMAIN=192.168.35.80
|
||||
- GITEA_PROTOCOL=http
|
||||
- GITEA_RUN_MODE=prod
|
||||
ports:
|
||||
|
||||
@@ -410,11 +410,14 @@ x-shared-env: &shared-api-worker-env
|
||||
MARKETPLACE_ENABLED: ${MARKETPLACE_ENABLED:-true}
|
||||
MARKETPLACE_API_URL: ${MARKETPLACE_API_URL:-https://marketplace.dify.ai}
|
||||
FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true}
|
||||
PLUGIN_PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-120}
|
||||
PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-600}
|
||||
PIP_MIRROR_URL: ${PIP_MIRROR_URL:-}
|
||||
|
||||
services:
|
||||
# API service
|
||||
api:
|
||||
image: langgenius/dify-api:0.15.3
|
||||
image: langgenius/dify-api:1.1.3
|
||||
restart: always
|
||||
environment:
|
||||
# Use the shared environment variables.
|
||||
@@ -426,15 +429,19 @@ services:
|
||||
SENTRY_PROFILES_SAMPLE_RATE: ${API_SENTRY_PROFILES_SAMPLE_RATE:-1.0}
|
||||
PLUGIN_MAX_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800}
|
||||
INNER_API_KEY_FOR_PLUGIN: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- /mnt/ramdisk/dify-api/storage:/app/api/storage
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
network_mode: "host"
|
||||
|
||||
# worker service
|
||||
# The Celery worker for processing the queue.
|
||||
worker:
|
||||
image: langgenius/dify-api:0.15.3
|
||||
image: langgenius/dify-api:1.1.3
|
||||
restart: always
|
||||
environment:
|
||||
# Use the shared environment variables.
|
||||
@@ -449,14 +456,16 @@ services:
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- /mnt/ramdisk/dify-api/storage:/app/api/storage
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
network_mode: "host"
|
||||
|
||||
# Frontend web application.
|
||||
web:
|
||||
image: langgenius/dify-web:0.15.3
|
||||
image: langgenius/dify-web:1.1.3
|
||||
restart: always
|
||||
ports:
|
||||
- '3000:3000'
|
||||
environment:
|
||||
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
||||
APP_API_URL: ${APP_API_URL:-}
|
||||
@@ -468,10 +477,12 @@ services:
|
||||
MARKETPLACE_URL: ${MARKETPLACE_URL:-https://marketplace.dify.ai}
|
||||
TOP_K_MAX_VALUE: ${TOP_K_MAX_VALUE:-}
|
||||
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH: ${INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH:-}
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
||||
# The DifySandbox
|
||||
sandbox:
|
||||
image: langgenius/dify-sandbox:0.2.10
|
||||
image: langgenius/dify-sandbox:0.2.11
|
||||
restart: always
|
||||
environment:
|
||||
# The DifySandbox configurations
|
||||
@@ -486,14 +497,19 @@ services:
|
||||
SANDBOX_PORT: ${SANDBOX_PORT:-8194}
|
||||
volumes:
|
||||
- /mnt/ramdisk/sandbox/dependencies:/dependencies
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
healthcheck:
|
||||
test: [ 'CMD', 'curl', '-f', 'http://localhost:8194/health' ]
|
||||
networks:
|
||||
- default
|
||||
network_mode: "host"
|
||||
|
||||
# plugin daemon
|
||||
|
||||
|
||||
# plugin daemon
|
||||
plugin_daemon:
|
||||
image: langgenius/dify-plugin-daemon:0.0.2-local
|
||||
image: langgenius/dify-plugin-daemon:0.0.6-local
|
||||
restart: always
|
||||
environment:
|
||||
# Use the shared environment variables.
|
||||
@@ -506,13 +522,19 @@ services:
|
||||
DIFY_INNER_API_URL: ${PLUGIN_DIFY_INNER_API_URL:-http://api:5001}
|
||||
DIFY_INNER_API_KEY: ${INNER_API_KEY_FOR_PLUGIN:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
|
||||
PLUGIN_REMOTE_INSTALLING_HOST: ${PLUGIN_REMOTE_INSTALL_HOST:-0.0.0.0}
|
||||
PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_REMOTE_INSTALL_PORT:-5003}
|
||||
PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_REMOTE_INSTALL_PORT:-5002}
|
||||
PLUGIN_WORKING_PATH: ${PLUGIN_WORKING_PATH:-/app/storage/cwd}
|
||||
FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true}
|
||||
ports:
|
||||
- "${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}:${PLUGIN_DEBUGGING_PORT:-5003}"
|
||||
PLUGIN_PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-120}
|
||||
PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-600}
|
||||
PIP_MIRROR_URL: ${PIP_MIRROR_URL:-}
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- /mnt/ramdisk/plugin_daemon:/app/storage
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
|
||||
|
||||
# ssrf_proxy server
|
||||
|
||||
@@ -591,10 +591,12 @@ WORKFLOW_FILE_UPLOAD_LIMIT=10
|
||||
HTTP_REQUEST_NODE_MAX_BINARY_SIZE=10485760
|
||||
HTTP_REQUEST_NODE_MAX_TEXT_SIZE=1048576
|
||||
|
||||
# 指向 Amd64-02
|
||||
#SSRF_PROXY_ALL_URL=socks5://10.0.0.246:2234
|
||||
# SSRF Proxy server HTTP URL
|
||||
SSRF_PROXY_HTTP_URL=http://ssrf_proxy:3128
|
||||
SSRF_PROXY_HTTP_URL=http://10.0.0.246:1234
|
||||
# SSRF Proxy server HTTPS URL
|
||||
SSRF_PROXY_HTTPS_URL=http://ssrf_proxy:3128
|
||||
SSRF_PROXY_HTTPS_URL=http://10.0.0.246:2234
|
||||
|
||||
# ------------------------------
|
||||
# Environment Variables for web Service
|
||||
@@ -716,7 +718,7 @@ DB_PLUGIN_DATABASE=dify_plugin
|
||||
EXPOSE_PLUGIN_DAEMON_PORT=5002
|
||||
PLUGIN_DAEMON_PORT=5002
|
||||
PLUGIN_DAEMON_KEY=lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi
|
||||
PLUGIN_DAEMON_URL=http://plugin_daemon:5002
|
||||
PLUGIN_DAEMON_URL=http://10.0.0.12:5002
|
||||
PLUGIN_MAX_PACKAGE_SIZE=52428800
|
||||
PLUGIN_PPROF_ENABLED=false
|
||||
|
||||
@@ -726,7 +728,7 @@ EXPOSE_PLUGIN_DEBUGGING_HOST=localhost
|
||||
EXPOSE_PLUGIN_DEBUGGING_PORT=5003
|
||||
|
||||
PLUGIN_DIFY_INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
|
||||
PLUGIN_DIFY_INNER_API_URL=http://api:5001
|
||||
PLUGIN_DIFY_INNER_API_URL=http://10.0.0.12:5001
|
||||
|
||||
ENDPOINT_URL_TEMPLATE=http://localhost/e/{hook_id}
|
||||
|
||||
@@ -734,3 +736,8 @@ MARKETPLACE_ENABLED=true
|
||||
MARKETPLACE_API_URL=https://marketplace.dify.ai
|
||||
|
||||
FORCE_VERIFYING_SIGNATURE=true
|
||||
|
||||
PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120
|
||||
PLUGIN_MAX_EXECUTION_TIMEOUT=600
|
||||
# PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
PIP_MIRROR_URL=
|
||||
|
||||
@@ -52,8 +52,18 @@ services:
|
||||
AUTHORIZATION_ADMINLIST_USERS: ${WEAVIATE_AUTHORIZATION_ADMINLIST_USERS:-hello@dify.ai}
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
redis:
|
||||
image: redis:6-alpine
|
||||
restart: always
|
||||
environment:
|
||||
REDISCLI_AUTH: ${REDIS_PASSWORD:-V2rayStrP@ss}
|
||||
volumes:
|
||||
# Mount the redis data directory to the container.
|
||||
- /mnt/ramdisk/redis/data:/data
|
||||
# Set the redis password when startup redis server.
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD:-V2rayStrP@ss}
|
||||
healthcheck:
|
||||
test: [ 'CMD', 'redis-cli', 'ping' ]
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
|
||||
-H "Authorization: Bearer T7LxBemfe8SNGWkT9uz2XIc1e22ifAbBv_POJvDP" \
|
||||
-H "Content-Type:application/json"
|
||||
|
||||
#export DOMAIN_NAME=chat.107421.xyz
|
||||
export DOMAIN_NAME=push.107421.xyz
|
||||
|
||||
# 可以操作DNS的API Token
|
||||
export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p"
|
||||
export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191"
|
||||
export CF_Zone_ID="511894a4f1357feb905e974e16241ebb"
|
||||
|
||||
Reference in New Issue
Block a user