4

If I have three environments; local, dev, and live, and want assets to be setup like this:

local: stored in a local directory (/public/uploads)
dev: stored on S3 dev bucket
live: stored on S3 live bucket

What's the best way to set this in a multi-environment config?

5

Unfortunately, this isn't currently possible.

This feature request is very similar to what you're requesting... however, it would still require that all of your environments use the same type of asset source.

2

We created a plugin to help solve this problem: https://github.com/Firstborn/Craft-CMS-Environment-Settings

This plugin allows you to specify different configurations per environment on a single asset source.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.