How to set s3 storage on a docker installation?

Not in the documentation, I have found this can be achieved through docker environment variables…

is this anywhere in the documentation?