How to set s3 storage on a docker installation?

Hello,

after FINALLY successfully having peertube working on my setup:

i would like to know how to set up s3 storage.

I have read this:

however:
If I understood correctly, the s3 configuration goes into the yaml config file. as opposed to the json one.
Hence, on my current yunohost based installation, that is where it is at:

but on the docker based installation, two things:
the only mapped file, is the json one:
image

even more odd, if i go within the docker container, in /app/config

there doesnt seem to be a production.yaml?

so two questions in total:

  1. topic title, how do I enable s3 storage in docker based solution
  2. which yaml file is being applied?

thanks!!
another step closer…

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

is this anywhere in the documentation?