Docker run time container config

Yesir.
This is what I am currently doing…
There is a degree of config that is accessible through a REST api after the container is running available in the persistent volume.
I then I have env and command line options that allow configuration at run time.
I love and need to create an docker-compose.yml and document the user id the container is using.
Your time and diligence is appreciated.
Cheers!