| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 | # ------------------------------# 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 directoryPGDATA=/var/lib/postgresql/data/pgdataPGDATA_HOST_VOLUME=./volumes/db/data# Maximum number of connections to the database# Default is 100## Reference: https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-MAX-CONNECTIONSPOSTGRES_MAX_CONNECTIONS=100# Sets the amount of shared memory used for postgres's shared buffers.# Default is 128MB# Recommended value: 25% of available memory# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-SHARED-BUFFERSPOSTGRES_SHARED_BUFFERS=128MB# Sets the amount of memory used by each database worker for working space.# Default is 4MB## Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-WORK-MEMPOSTGRES_WORK_MEM=4MB# Sets the amount of memory reserved for maintenance activities.# Default is 64MB## Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEMPOSTGRES_MAINTENANCE_WORK_MEM=64MB# Sets the planner's assumption about the effective cache size.# Default is 4096MB## Reference: https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-EFFECTIVE-CACHE-SIZEPOSTGRES_EFFECTIVE_CACHE_SIZE=4096MB# -----------------------------# Environment Variables for redis Service# -----------------------------REDIS_HOST_VOLUME=./volumes/redis/dataREDIS_PASSWORD=difyai123456# ------------------------------# Environment Variables for sandbox Service# ------------------------------SANDBOX_API_KEY=dify-sandboxSANDBOX_GIN_MODE=releaseSANDBOX_WORKER_TIMEOUT=15SANDBOX_ENABLE_NETWORK=trueSANDBOX_HTTP_PROXY=http://ssrf_proxy:3128SANDBOX_HTTPS_PROXY=http://ssrf_proxy:3128SANDBOX_PORT=8194# ------------------------------# Environment Variables for ssrf_proxy Service# ------------------------------SSRF_HTTP_PORT=3128SSRF_COREDUMP_DIR=/var/spool/squidSSRF_REVERSE_PROXY_PORT=8194SSRF_SANDBOX_HOST=sandbox# ------------------------------# Environment Variables for weaviate Service# ------------------------------WEAVIATE_QUERY_DEFAULTS_LIMIT=25WEAVIATE_AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=trueWEAVIATE_DEFAULT_VECTORIZER_MODULE=noneWEAVIATE_CLUSTER_HOSTNAME=node1WEAVIATE_AUTHENTICATION_APIKEY_ENABLED=trueWEAVIATE_AUTHENTICATION_APIKEY_ALLOWED_KEYS=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkihWEAVIATE_AUTHENTICATION_APIKEY_USERS=hello@dify.aiWEAVIATE_AUTHORIZATION_ADMINLIST_ENABLED=trueWEAVIATE_AUTHORIZATION_ADMINLIST_USERS=hello@dify.aiWEAVIATE_HOST_VOLUME=./volumes/weaviate# ------------------------------# Docker Compose Service Expose Host Port Configurations# ------------------------------EXPOSE_POSTGRES_PORT=5432EXPOSE_REDIS_PORT=6379EXPOSE_SANDBOX_PORT=8194EXPOSE_SSRF_PROXY_PORT=3128EXPOSE_WEAVIATE_PORT=8080# ------------------------------# Plugin Daemon Configuration# ------------------------------DB_PLUGIN_DATABASE=dify_pluginEXPOSE_PLUGIN_DAEMON_PORT=5002PLUGIN_DAEMON_PORT=5002PLUGIN_DAEMON_KEY=lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEiPLUGIN_DAEMON_URL=http://host.docker.internal:5002PLUGIN_MAX_PACKAGE_SIZE=52428800PLUGIN_PPROF_ENABLED=falsePLUGIN_WORKING_PATH=/app/storage/cwdENDPOINT_URL_TEMPLATE=http://localhost:5002/e/{hook_id}PLUGIN_DEBUGGING_PORT=5003PLUGIN_DEBUGGING_HOST=0.0.0.0EXPOSE_PLUGIN_DEBUGGING_HOST=localhostEXPOSE_PLUGIN_DEBUGGING_PORT=5003PLUGIN_DIFY_INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1PLUGIN_DIFY_INNER_API_URL=http://api:5001MARKETPLACE_ENABLED=trueMARKETPLACE_API_URL=https://marketplace.dify.aiFORCE_VERIFYING_SIGNATURE=true
 |