Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
FWIW, I tend to use a Cloudfront distribution in front of the S3 bucket as well if it's for something which needs to be fully distributed
The production server has it set, so the S3 system kicks in
My local dev copy just uses the local file system, as I don't have the bucket name set in the .env file
Sweet! thanks for sharing the config, @dorsetdigital
That's the YML I use... and that picks up from the env vars
Readme says full details on env vars can be seen in
SilverStripeS3AdapterTrait though that doesn't appear to exist
- envvarset: AWS_BUCKET_NAME
- - '#assetsflysystem'
- region: '`AWS_REGION`'
- version: latest
- key: '`AWS_ACCESS_KEY_ID`'
- secret: '`AWS_SECRET_ACCESS_KEY`'
Server environment vars are probably more desirable.
Yep, environment vars. Well last time I played with it.