From e08300cf135d068c14ca4ffad33784ff817a85ad Mon Sep 17 00:00:00 2001 From: johnhkchen Date: Wed, 22 Oct 2025 14:12:31 -0700 Subject: [PATCH] Revert to local storage - S3 networking issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HTTP 301 redirect issue when Directus tries to connect to MinIO. Need to configure Docker network connectivity between services. Temporarily back to local volumes until networking is resolved. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docker-compose.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3450a0c..6bc183d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,18 +55,18 @@ services: CORS_ENABLED: "true" CORS_ORIGIN: "true" - # Storage - MinIO S3 - STORAGE_LOCATIONS: "s3" - STORAGE_S3_DRIVER: "s3" - STORAGE_S3_KEY: ${MINIO_ACCESS_KEY} - STORAGE_S3_SECRET: ${MINIO_SECRET_KEY} - STORAGE_S3_BUCKET: "directus-uploads" - STORAGE_S3_REGION: "us-east-1" - STORAGE_S3_ENDPOINT: "http://s3.b28.dev" - STORAGE_S3_FORCE_PATH_STYLE: "true" + # Storage - MinIO S3 (temporarily disabled - networking issue) + # STORAGE_LOCATIONS: "s3" + # STORAGE_S3_DRIVER: "s3" + # STORAGE_S3_KEY: ${MINIO_ACCESS_KEY} + # STORAGE_S3_SECRET: ${MINIO_SECRET_KEY} + # STORAGE_S3_BUCKET: "directus-uploads" + # STORAGE_S3_REGION: "us-east-1" + # STORAGE_S3_ENDPOINT: "http://s3.b28.dev" + # STORAGE_S3_FORCE_PATH_STYLE: "true" volumes: - # Note: directus_uploads volume removed - using S3 instead + - directus_uploads:/directus/uploads # Back to local storage temporarily - directus_extensions:/directus/extensions expose: @@ -82,6 +82,7 @@ services: volumes: postgres_data: name: directus_postgres_data - # directus_uploads removed - using MinIO S3 instead + directus_uploads: + name: directus_uploads directus_extensions: name: directus_extensions