{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/75","repository_url":"https://api.github.com/repos/aws/amazon-ecs-cli","labels_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/75/comments","events_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/75/events","html_url":"https://github.com/aws/amazon-ecs-cli/issues/75","id":128545904,"number":75,"title":"ulimits are not parsed correctly","user":{"login":"npars","id":1280422,"avatar_url":"https://avatars.githubusercontent.com/u/1280422?v=3","gravatar_id":"","url":"https://api.github.com/users/npars","html_url":"https://github.com/npars","followers_url":"https://api.github.com/users/npars/followers","following_url":"https://api.github.com/users/npars/following{/other_user}","gists_url":"https://api.github.com/users/npars/gists{/gist_id}","starred_url":"https://api.github.com/users/npars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npars/subscriptions","organizations_url":"https://api.github.com/users/npars/orgs","repos_url":"https://api.github.com/users/npars/repos","events_url":"https://api.github.com/users/npars/events{/privacy}","received_events_url":"https://api.github.com/users/npars/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/amazon-ecs-cli/labels/yaml%20parsing","name":"yaml parsing","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-01-25T14:17:04Z","updated_at":"2016-07-08T22:13:27Z","closed_at":"2016-07-08T22:13:27Z","body":"Specifying ulimits in a docker-compose.yml file results in a ecs-cli parse error. The same file works correctly in docker-compose. The format is the exact same as specified by the [docker docs](https://docs.docker.com/compose/compose-file/#ulimits).\r\n\r\n### docker-compose.yml\r\n```\r\nhelloworld:\r\n    image: hello-world\r\n    ulimits:\r\n        nproc: 65535\r\n        nofile:\r\n            soft: 20000\r\n            hard: 40000\r\n```\r\n\r\n### Output\r\n```\r\n$ ecs-cli compose -f docker-compose.yml --debug up\r\nDEBU[0000] using config file: ~/.ecs/config\r\nDEBU[0000] Opening compose file: docker-compose.yml\r\nDEBU[0000] Parsing the compose yaml...\r\nERRO[0000] Unable to convert yaml to service configs     error=Error parsing: node is not of type list map[nproc:65535 nofile:map[soft:20000 hard:40000]]\r\nERRO[0000] Unable to open ECS Compose Project            error=Error parsing: node is not of type list map[nproc:65535 nofile:map[soft:20000 hard:40000]]\r\nFATA[0000] Unable to create and read ECS Compose Project  error=Error parsing: node is not of type list map[nproc:65535 nofile:map[soft:20000 hard:40000]]\r\n```"}}
{"actor":{"display_login":"uttarasridhar"}}