remove .env
This commit is contained in:
parent
75bbfb5bc7
commit
96aeb34f7d
170
api/.env
170
api/.env
@ -1,170 +0,0 @@
|
|||||||
# Server Edition
|
|
||||||
EDITION=SELF_HOSTED
|
|
||||||
|
|
||||||
# Your App secret key will be used for securely signing the session cookie
|
|
||||||
# Make sure you are changing this key for your deployment with a strong key.
|
|
||||||
# You can generate a strong key using `openssl rand -base64 42`.
|
|
||||||
# Alternatively you can set it with `SECRET_KEY` environment variable.
|
|
||||||
SECRET_KEY=
|
|
||||||
|
|
||||||
# Console API base URL
|
|
||||||
CONSOLE_API_URL=http://127.0.0.1:5001
|
|
||||||
CONSOLE_WEB_URL=http://127.0.0.1:3000
|
|
||||||
|
|
||||||
# Service API base URL
|
|
||||||
SERVICE_API_URL=http://127.0.0.1:5001
|
|
||||||
|
|
||||||
# Web APP base URL
|
|
||||||
APP_WEB_URL=http://127.0.0.1:3000
|
|
||||||
|
|
||||||
# Files URL
|
|
||||||
FILES_URL=http://127.0.0.1:5001
|
|
||||||
|
|
||||||
# celery configuration
|
|
||||||
CELERY_BROKER_URL=redis://:difyai123456@localhost:6379/1
|
|
||||||
|
|
||||||
# redis configuration
|
|
||||||
REDIS_HOST=localhost
|
|
||||||
REDIS_PORT=6379
|
|
||||||
REDIS_USERNAME=
|
|
||||||
REDIS_PASSWORD=difyai123456
|
|
||||||
REDIS_DB=0
|
|
||||||
|
|
||||||
# PostgreSQL database configuration
|
|
||||||
DB_USERNAME=postgres
|
|
||||||
DB_PASSWORD=difyai123456
|
|
||||||
DB_HOST=localhost
|
|
||||||
DB_PORT=5432
|
|
||||||
DB_DATABASE=dify
|
|
||||||
|
|
||||||
# Storage configuration
|
|
||||||
# use for store upload files, private keys...
|
|
||||||
# storage type: local, s3, azure-blob
|
|
||||||
STORAGE_TYPE=local
|
|
||||||
STORAGE_LOCAL_PATH=storage
|
|
||||||
S3_ENDPOINT=https://your-bucket-name.storage.s3.clooudflare.com
|
|
||||||
S3_BUCKET_NAME=your-bucket-name
|
|
||||||
S3_ACCESS_KEY=your-access-key
|
|
||||||
S3_SECRET_KEY=your-secret-key
|
|
||||||
S3_REGION=your-region
|
|
||||||
# Azure Blob Storage configuration
|
|
||||||
AZURE_BLOB_ACCOUNT_NAME=your-account-name
|
|
||||||
AZURE_BLOB_ACCOUNT_KEY=your-account-key
|
|
||||||
AZURE_BLOB_CONTAINER_NAME=yout-container-name
|
|
||||||
AZURE_BLOB_ACCOUNT_URL=https://<your_account_name>.blob.core.windows.net
|
|
||||||
|
|
||||||
# CORS configuration
|
|
||||||
WEB_API_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
|
||||||
CONSOLE_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
|
||||||
|
|
||||||
# Vector database configuration, support: weaviate, qdrant, milvus, relyt
|
|
||||||
VECTOR_STORE=tencent
|
|
||||||
|
|
||||||
TENCENT_URL=http://10.6.1.224
|
|
||||||
TENCENT_API_KEY=nTZEVu0UeShVmMXkMywZQpMLC3BCERM7nLOPH2Xf
|
|
||||||
TENCENT_TIMEOUT=30
|
|
||||||
TENCENT_USERNAME=root
|
|
||||||
TENCENT_DATABASE=dify
|
|
||||||
TENCENT_SHARD=1
|
|
||||||
TENCENT_REPLICAS=2
|
|
||||||
|
|
||||||
# Weaviate configuration
|
|
||||||
WEAVIATE_ENDPOINT=http://localhost:8080
|
|
||||||
WEAVIATE_API_KEY=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
||||||
WEAVIATE_GRPC_ENABLED=false
|
|
||||||
WEAVIATE_BATCH_SIZE=100
|
|
||||||
|
|
||||||
# Qdrant configuration, use `http://localhost:6333` for local mode or `https://your-qdrant-cluster-url.qdrant.io` for remote mode
|
|
||||||
QDRANT_URL=http://localhost:6333
|
|
||||||
QDRANT_API_KEY=difyai123456
|
|
||||||
QDRANT_CLIENT_TIMEOUT=20
|
|
||||||
|
|
||||||
# Milvus configuration
|
|
||||||
MILVUS_HOST=127.0.0.1
|
|
||||||
MILVUS_PORT=19530
|
|
||||||
MILVUS_USER=root
|
|
||||||
MILVUS_PASSWORD=Milvus
|
|
||||||
MILVUS_SECURE=false
|
|
||||||
|
|
||||||
# Relyt configuration
|
|
||||||
RELYT_HOST=127.0.0.1
|
|
||||||
RELYT_PORT=5432
|
|
||||||
RELYT_USER=postgres
|
|
||||||
RELYT_PASSWORD=postgres
|
|
||||||
RELYT_DATABASE=postgres
|
|
||||||
|
|
||||||
# Upload configuration
|
|
||||||
UPLOAD_FILE_SIZE_LIMIT=15
|
|
||||||
UPLOAD_FILE_BATCH_LIMIT=5
|
|
||||||
UPLOAD_IMAGE_FILE_SIZE_LIMIT=10
|
|
||||||
|
|
||||||
# Model Configuration
|
|
||||||
MULTIMODAL_SEND_IMAGE_FORMAT=base64
|
|
||||||
|
|
||||||
# Mail configuration, support: resend, smtp
|
|
||||||
MAIL_TYPE=
|
|
||||||
MAIL_DEFAULT_SEND_FROM=no-reply <no-reply@dify.ai>
|
|
||||||
RESEND_API_KEY=
|
|
||||||
RESEND_API_URL=https://api.resend.com
|
|
||||||
# smtp configuration
|
|
||||||
SMTP_SERVER=smtp.gmail.com
|
|
||||||
SMTP_PORT=587
|
|
||||||
SMTP_USERNAME=123
|
|
||||||
SMTP_PASSWORD=abc
|
|
||||||
SMTP_USE_TLS=false
|
|
||||||
|
|
||||||
# Sentry configuration
|
|
||||||
SENTRY_DSN=
|
|
||||||
|
|
||||||
# DEBUG
|
|
||||||
DEBUG=false
|
|
||||||
SQLALCHEMY_ECHO=false
|
|
||||||
|
|
||||||
# Notion import configuration, support public and internal
|
|
||||||
NOTION_INTEGRATION_TYPE=public
|
|
||||||
NOTION_CLIENT_SECRET=you-client-secret
|
|
||||||
NOTION_CLIENT_ID=you-client-id
|
|
||||||
NOTION_INTERNAL_SECRET=you-internal-secret
|
|
||||||
|
|
||||||
# Hosted Model Credentials
|
|
||||||
HOSTED_OPENAI_API_KEY=
|
|
||||||
HOSTED_OPENAI_API_BASE=
|
|
||||||
HOSTED_OPENAI_API_ORGANIZATION=
|
|
||||||
HOSTED_OPENAI_TRIAL_ENABLED=false
|
|
||||||
HOSTED_OPENAI_QUOTA_LIMIT=200
|
|
||||||
HOSTED_OPENAI_PAID_ENABLED=false
|
|
||||||
|
|
||||||
HOSTED_AZURE_OPENAI_ENABLED=false
|
|
||||||
HOSTED_AZURE_OPENAI_API_KEY=
|
|
||||||
HOSTED_AZURE_OPENAI_API_BASE=
|
|
||||||
HOSTED_AZURE_OPENAI_QUOTA_LIMIT=200
|
|
||||||
|
|
||||||
HOSTED_ANTHROPIC_API_BASE=
|
|
||||||
HOSTED_ANTHROPIC_API_KEY=
|
|
||||||
HOSTED_ANTHROPIC_TRIAL_ENABLED=false
|
|
||||||
HOSTED_ANTHROPIC_QUOTA_LIMIT=600000
|
|
||||||
HOSTED_ANTHROPIC_PAID_ENABLED=false
|
|
||||||
|
|
||||||
ETL_TYPE=dify
|
|
||||||
UNSTRUCTURED_API_URL=
|
|
||||||
|
|
||||||
SSRF_PROXY_HTTP_URL=
|
|
||||||
SSRF_PROXY_HTTPS_URL=
|
|
||||||
|
|
||||||
BATCH_UPLOAD_LIMIT=10
|
|
||||||
KEYWORD_DATA_SOURCE_TYPE=database
|
|
||||||
|
|
||||||
# CODE EXECUTION CONFIGURATION
|
|
||||||
CODE_EXECUTION_ENDPOINT=http://127.0.0.1:8194
|
|
||||||
CODE_EXECUTION_API_KEY=dify-sandbox
|
|
||||||
CODE_MAX_NUMBER=9223372036854775807
|
|
||||||
CODE_MIN_NUMBER=-9223372036854775808
|
|
||||||
CODE_MAX_STRING_LENGTH=80000
|
|
||||||
TEMPLATE_TRANSFORM_MAX_LENGTH=80000
|
|
||||||
CODE_MAX_STRING_ARRAY_LENGTH=30
|
|
||||||
CODE_MAX_OBJECT_ARRAY_LENGTH=30
|
|
||||||
CODE_MAX_NUMBER_ARRAY_LENGTH=1000
|
|
||||||
|
|
||||||
# API Tool configuration
|
|
||||||
API_TOOL_DEFAULT_CONNECT_TIMEOUT=10
|
|
||||||
API_TOOL_DEFAULT_READ_TIMEOUT=60
|
|
Loading…
Reference in New Issue
Block a user