mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
ed83df972f
Co-authored-by: dahuahua <38651850@qq.com>
53 lines
1.6 KiB
Plaintext
53 lines
1.6 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 sandbox Service
|
|
SANDBOX_API_KEY=dify-sandbox
|
|
SANDBOX_GIN_MODE=release
|
|
SANDBOX_WORKER_TIMEOUT=15
|
|
SANDBOX_ENABLE_NETWORK=true
|
|
SANDBOX_HTTP_PROXY=http://ssrf_proxy:3128
|
|
SANDBOX_HTTPS_PROXY=http://ssrf_proxy:3128
|
|
SANDBOX_PORT=8194
|
|
# ------------------------------
|
|
|
|
# ------------------------------
|
|
# Environment Variables for ssrf_proxy Service
|
|
# ------------------------------
|
|
SSRF_HTTP_PORT=3128
|
|
SSRF_COREDUMP_DIR=/var/spool/squid
|
|
SSRF_REVERSE_PROXY_PORT=8194
|
|
SSRF_SANDBOX_HOST=sandbox
|
|
|
|
# ------------------------------
|
|
# Environment Variables for weaviate Service
|
|
# ------------------------------
|
|
WEAVIATE_QUERY_DEFAULTS_LIMIT=25
|
|
WEAVIATE_AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true
|
|
WEAVIATE_DEFAULT_VECTORIZER_MODULE=none
|
|
WEAVIATE_CLUSTER_HOSTNAME=node1
|
|
WEAVIATE_AUTHENTICATION_APIKEY_ENABLED=true
|
|
WEAVIATE_AUTHENTICATION_APIKEY_ALLOWED_KEYS=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
|
WEAVIATE_AUTHENTICATION_APIKEY_USERS=hello@dify.ai
|
|
WEAVIATE_AUTHORIZATION_ADMINLIST_ENABLED=true
|
|
WEAVIATE_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
|