So I have once ECS instance which contains one EC2 instance which has 3 docker containers.
It was nice process to use ecs-cli compose to use my docker-compose file alongside an ecs-params file to create a task definition only to read as above that there should be a separate task definition for each docker container.
So should I have a separate task definition for gunicorn/django, nginx and postgresql? Why do I need to do this when I can specify CPU/memory shares and settings all in the ecs-params.yml? How do i do this using ecs-cli compose?