Where can I find a docker-compose.yaml and config for loki with s3 and dynamoDB?

I’m having trouble getting loki to store in AWS s3,. Does anyone have a docker-compose.yaml file or kubernetes deplyment and config which uses AWS s3 as a data store?