Enable MinIO S3 storage with internal Docker network endpoint
Changes: - Uncomment S3 storage configuration (lines 58-66) - Set S3 endpoint to http://minio:9000 (internal Docker network) - Configure S3 force path style for MinIO compatibility This replaces the external endpoint (https://s3.b28.dev) with direct container communication, avoiding Cloudflare Tunnel latency and SSL/redirect issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -55,15 +55,15 @@ services:
|
|||||||
CORS_ENABLED: "true"
|
CORS_ENABLED: "true"
|
||||||
CORS_ORIGIN: "true"
|
CORS_ORIGIN: "true"
|
||||||
|
|
||||||
# Storage - MinIO S3 (temporarily disabled - networking issue)
|
# Storage - MinIO S3 (internal Docker network connection)
|
||||||
# STORAGE_LOCATIONS: "s3"
|
STORAGE_LOCATIONS: "s3"
|
||||||
# STORAGE_S3_DRIVER: "s3"
|
STORAGE_S3_DRIVER: "s3"
|
||||||
# STORAGE_S3_KEY: ${MINIO_ACCESS_KEY}
|
STORAGE_S3_KEY: ${MINIO_ACCESS_KEY}
|
||||||
# STORAGE_S3_SECRET: ${MINIO_SECRET_KEY}
|
STORAGE_S3_SECRET: ${MINIO_SECRET_KEY}
|
||||||
# STORAGE_S3_BUCKET: "directus-uploads"
|
STORAGE_S3_BUCKET: "directus-uploads"
|
||||||
# STORAGE_S3_REGION: "us-east-1"
|
STORAGE_S3_REGION: "us-east-1"
|
||||||
# STORAGE_S3_ENDPOINT: "http://s3.b28.dev"
|
STORAGE_S3_ENDPOINT: "http://minio:9000"
|
||||||
# STORAGE_S3_FORCE_PATH_STYLE: "true"
|
STORAGE_S3_FORCE_PATH_STYLE: "true"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- directus_uploads:/directus/uploads # Back to local storage temporarily
|
- directus_uploads:/directus/uploads # Back to local storage temporarily
|
||||||
|
|||||||
Reference in New Issue
Block a user