custom mapping in the config/cfapplication.cfm
file
this.mappings["/s3assets"] = "s3://{access_key}:{secret_key}@/{your_bucket}/";
IF using Docker, example settings for a docker-compose.yml file with Mura
MURA_ASSETPATH: "https://{your_bucket}.s3.amazonaws.com/"
MURA_ASSETDIR: "/s3assets"
MURA_FILEDIR: "/s3assets"
OR in a non-Docker environment, in the config/settings.ini.cfm
file
assetpath=https://{your_bucket}.s3.amazonaws.com/
assetdir=/s3assets
filedir=/s3assets
Tested and verified works with Mura 7.0+ on Lucee 5
With Mura 7.1 using Docker, rather than setting up the custom mapping within config/cfapplication.cfm (which didn't seem to work though could be user error), setting the MURA_S3ASSETS environment variable within docker-compose.yml appears to work, and would seem a much more Docker friendly approach:
Would this now be the preferred approach with 7.1 on docker?