Provides AWS Storage as a Filesystem so all uploaded files, images and thumbs will be saved there. Those assets will be still served through Bolt's proxy.
AWS S3 Account.
Also please have a look at composer.json
and install required (and even suggested) packages:
"require": {
"league/flysystem-aws-s3-v3": "^1.0",
"league/flysystem-cached-adapter": "^1.0"
},
"suggest": {
"predis/service-provider": "For better caching",
"predis/predis": "For better caching"
},
After installation, a configuration file will be created as
app/config/extensions/amazon.jarjak.yml
, where you have to update fields with your S3 bucket config.
You can also configure everything through env variables (see .env.dist
file).
Mandatory options are:
For auth it uses env variables (those can't be set through yaml config):
Because of efficiency problem you can use limit for file listings by env variable:
It defaults to 1000 files in single folder.
This extension needs a Cache Driver, which can be Redis or just Array.
If you have RedisClient but you haven't configured it yet (registered as predis_cache
), it will create one for you with the following env variables: