mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-04 12:17:52 +08:00
eab0ac3a13
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
# ------------------------------
|
|
# Environment Variables for db Service
|
|
# ------------------------------
|
|
PGUSER=postgres
|
|
# The password for the default postgres user.
|
|
POSTGRES_PASSWORD=difyai123456
|
|
# The name of the default postgres database.
|
|
POSTGRES_DB=dify
|
|
# postgres data directory
|
|
PGDATA=/var/lib/postgresql/data/pgdata
|
|
|
|
|
|
# ------------------------------
|
|
# Environment Variables for qdrant Service
|
|
# (only used when VECTOR_STORE is qdrant)
|
|
# ------------------------------
|
|
QDRANT_API_KEY=difyai123456
|
|
|
|
# ------------------------------
|
|
# Environment Variables for sandbox Service
|
|
API_KEY=dify-sandbox
|
|
GIN_MODE=release
|
|
WORKER_TIMEOUT=15
|
|
ENABLE_NETWORK=true
|
|
HTTP_PROXY=http://ssrf_proxy:3128
|
|
HTTPS_PROXY=http://ssrf_proxy:3128
|
|
SANDBOX_PORT=8194
|
|
# ------------------------------
|
|
|
|
# ------------------------------
|
|
# Environment Variables for weaviate Service
|
|
# (only used when VECTOR_STORE is weaviate)
|
|
# ------------------------------
|
|
QUERY_DEFAULTS_LIMIT=25
|
|
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true
|
|
DEFAULT_VECTORIZER_MODULE=none
|
|
CLUSTER_HOSTNAME=node1
|
|
AUTHENTICATION_APIKEY_ENABLED=true
|
|
AUTHENTICATION_APIKEY_ALLOWED_KEYS=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
AUTHENTICATION_APIKEY_USERS=hello@dify.ai
|
|
AUTHORIZATION_ADMINLIST_ENABLED=true
|
|
AUTHORIZATION_ADMINLIST_USERS=hello@dify.ai
|
|
|
|
# ------------------------------
|
|
# Docker Compose Service Expose Host Port Configurations
|
|
# ------------------------------
|
|
EXPOSE_POSTGRES_PORT=5432
|
|
EXPOSE_REDIS_PORT=6379
|
|
EXPOSE_SANDBOX_PORT=8194
|
|
EXPOSE_SSRF_PROXY_PORT=3128
|
|
EXPOSE_WEAVIATE_PORT=8080
|