Team Ai
Apppublic

Underground-Digital/Workflow-Engine

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
middleware.env.example89 linesDownload Raw Back to docker
1# ------------------------------2# Environment Variables for db Service3# ------------------------------4PGUSER=postgres5# The password for the default postgres user.6POSTGRES_PASSWORD=difyai1234567# The name of the default postgres database.8POSTGRES_DB=dify9# postgres data directory10PGDATA=/var/lib/postgresql/data/pgdata11PGDATA_HOST_VOLUME=./volumes/db/data12 13# Maximum number of connections to the database14# Default is 10015#16# Reference: https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-MAX-CONNECTIONS17POSTGRES_MAX_CONNECTIONS=10018 19# Sets the amount of shared memory used for postgres's shared buffers.20# Default is 128MB21# Recommended value: 25% of available memory22# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-SHARED-BUFFERS23POSTGRES_SHARED_BUFFERS=128MB24 25# Sets the amount of memory used by each database worker for working space.26# Default is 4MB27#28# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-WORK-MEM29POSTGRES_WORK_MEM=4MB30 31# Sets the amount of memory reserved for maintenance activities.32# Default is 64MB33#34# Reference: https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEM35POSTGRES_MAINTENANCE_WORK_MEM=64MB36 37# Sets the planner's assumption about the effective cache size.38# Default is 4096MB39#40# Reference: https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-EFFECTIVE-CACHE-SIZE41POSTGRES_EFFECTIVE_CACHE_SIZE=4096MB42 43# -----------------------------44# Environment Variables for redis Service45REDIS_HOST_VOLUME=./volumes/redis/data46# -----------------------------47 48# ------------------------------49# Environment Variables for sandbox Service50SANDBOX_API_KEY=dify-sandbox51SANDBOX_GIN_MODE=release52SANDBOX_WORKER_TIMEOUT=1553SANDBOX_ENABLE_NETWORK=true54SANDBOX_HTTP_PROXY=http://ssrf_proxy:312855SANDBOX_HTTPS_PROXY=http://ssrf_proxy:312856SANDBOX_PORT=819457# ------------------------------58 59# ------------------------------60# Environment Variables for ssrf_proxy Service61# ------------------------------62SSRF_HTTP_PORT=312863SSRF_COREDUMP_DIR=/var/spool/squid64SSRF_REVERSE_PROXY_PORT=819465SSRF_SANDBOX_HOST=sandbox66 67# ------------------------------68# Environment Variables for weaviate Service69# ------------------------------70WEAVIATE_QUERY_DEFAULTS_LIMIT=2571WEAVIATE_AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true72WEAVIATE_DEFAULT_VECTORIZER_MODULE=none73WEAVIATE_CLUSTER_HOSTNAME=node174WEAVIATE_AUTHENTICATION_APIKEY_ENABLED=true75WEAVIATE_AUTHENTICATION_APIKEY_ALLOWED_KEYS=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih76WEAVIATE_AUTHENTICATION_APIKEY_USERS=hello@dify.ai77WEAVIATE_AUTHORIZATION_ADMINLIST_ENABLED=true78WEAVIATE_AUTHORIZATION_ADMINLIST_USERS=hello@dify.ai79WEAVIATE_HOST_VOLUME=./volumes/weaviate80 81# ------------------------------82# Docker Compose Service Expose Host Port Configurations83# ------------------------------84EXPOSE_POSTGRES_PORT=543285EXPOSE_REDIS_PORT=637986EXPOSE_SANDBOX_PORT=819487EXPOSE_SSRF_PROXY_PORT=312888EXPOSE_WEAVIATE_PORT=808089