Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(docker): restore S3_ADDRESS_STYLE env examples (#34826)

-LAN-ec56f4e8399a
diff --git a/api/.env.example b/api/.env.example
index 2c1a755059c..a04a18944a0 100644
--- a/api/.env.example
+++ b/api/.env.example
@@ -109,6 +109,7 @@ S3_BUCKET_NAME=your-bucket-name
S3_ACCESS_KEY=your-access-key
S3_SECRET_KEY=your-secret-key
S3_REGION=your-region
+S3_ADDRESS_STYLE=auto
# Workflow run and Conversation archive storage (S3-compatible)
ARCHIVE_STORAGE_ENABLED=false
diff --git a/docker/.env.example b/docker/.env.example
index f6da6c568d7..4426a882f17 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -469,6 +469,7 @@ S3_REGION=us-east-1
S3_BUCKET_NAME=difyai
S3_ACCESS_KEY=
S3_SECRET_KEY=
+S3_ADDRESS_STYLE=auto
# Whether to use AWS managed IAM roles for authenticating with the S3 service.
# If set to false, the access key and secret key must be provided.
S3_USE_AWS_MANAGED_IAM=false
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index dbadc58f89d..1fc1cfdf9e2 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -131,6 +131,7 @@ x-shared-env: &shared-api-worker-env
S3_BUCKET_NAME: ${S3_BUCKET_NAME:-difyai}
S3_ACCESS_KEY: ${S3_ACCESS_KEY:-}
S3_SECRET_KEY: ${S3_SECRET_KEY:-}
+ S3_ADDRESS_STYLE: ${S3_ADDRESS_STYLE:-auto}
S3_USE_AWS_MANAGED_IAM: ${S3_USE_AWS_MANAGED_IAM:-false}
ARCHIVE_STORAGE_ENABLED: ${ARCHIVE_STORAGE_ENABLED:-false}
ARCHIVE_STORAGE_ENDPOINT: ${ARCHIVE_STORAGE_ENDPOINT:-}