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?

2 Answers 2


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.


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 and acknowledge you have read our privacy policy.

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