Skip to content

Commit

Permalink
support flysystem-aws-s3
Browse files Browse the repository at this point in the history
  • Loading branch information
lao9s committed Jan 11, 2024
1 parent 23db320 commit b847186
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,21 @@ CACHE_DRIVER=redis
# Default Session Driver
SESSION_DRIVER=redis

# The disk on which to store the uploaded files
MIXPOST_DISK=public

# Default log channel for Mixpost
MIXPOST_LOG_CHANNEL=mixpost

# This is the path which Mixpost will use to load its core routes and assets
MIXPOST_CORE_PATH=mixpost

# The disk on which to store added files. Disks: "public", "s3". For "s3" you should fill in the AWS_* credentials below.
MIXPOST_DISK=public

# AWS Credentials
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=

# SMTP
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailgun.org
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"laravel/framework": "^10.8",
"laravel/horizon": "^5.15",
"laravel/tinker": "^2.8",
"sentry/sentry-laravel": "^3.8"
"sentry/sentry-laravel": "^3.8",
"league/flysystem-aws-s3-v3": "^3.0",
"league/flysystem-sftp-v3": "^3.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
Expand Down

0 comments on commit b847186

Please sign in to comment.