feat: add MinIO S3 storage configuration to docker-compose for improved file management
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 2m31s
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 2m31s
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
"google/recaptcha": "~1.1",
|
"google/recaptcha": "~1.1",
|
||||||
"spatie/laravel-analytics": "^1.4",
|
"spatie/laravel-analytics": "^1.4",
|
||||||
"league/flysystem-sftp": "^1.0",
|
"league/flysystem-sftp": "^1.0",
|
||||||
|
"league/flysystem-aws-s3-v3": "~1.0",
|
||||||
"aws/aws-sdk-php": "~3.0"
|
"aws/aws-sdk-php": "~3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|||||||
@@ -28,6 +28,14 @@ services:
|
|||||||
- ANALYTICS_SITE_ID=${ANALYTICS_SITE_ID}
|
- ANALYTICS_SITE_ID=${ANALYTICS_SITE_ID}
|
||||||
- ANALYTICS_CLIENT_ID=${ANALYTICS_CLIENT_ID}
|
- ANALYTICS_CLIENT_ID=${ANALYTICS_CLIENT_ID}
|
||||||
- ANALYTICS_SERVICE_EMAIL=${ANALYTICS_SERVICE_EMAIL}
|
- ANALYTICS_SERVICE_EMAIL=${ANALYTICS_SERVICE_EMAIL}
|
||||||
|
# MinIO S3 Storage
|
||||||
|
- MINIO_ENDPOINT=${MINIO_ENDPOINT:-http://crew-minio-prod:9000}
|
||||||
|
- MINIO_KEY=${MINIO_KEY}
|
||||||
|
- MINIO_SECRET=${MINIO_SECRET}
|
||||||
|
- MINIO_BUCKET=${MINIO_BUCKET:-crewsportswear}
|
||||||
|
- MINIO_REGION=${MINIO_REGION:-us-east-1}
|
||||||
|
- MINIO_USE_PATH_STYLE=${MINIO_USE_PATH_STYLE:-true}
|
||||||
|
- MINIO_URL=${MINIO_URL:-https://minio.crewsportswear.app}
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/www/html/storage
|
- ./storage:/var/www/html/storage
|
||||||
- ./public/uploads:/var/www/html/public/uploads
|
- ./public/uploads:/var/www/html/public/uploads
|
||||||
|
|||||||
Reference in New Issue
Block a user