Hello,
what you need is a CF template to create
nodejs server
mongodb
redis cache
ecr repo and docker ecs setup from the docker compose file.
I can help with setting up a CF template that will create
1. networking, vpc, security group for db and servers , subnets public/private
2. CF template to create a redis cache cluster and ec2 instance to host the ecs service
3. CF template to create a rds mongodb database and connect it with server stack.
4. test and validate the deployment.