mem_limit is supported by docker-compose? How can I test it?
I have a following docker-compose.yml
You can find how configure docker to limit resources (CPU & MEMORY) and how test your restrictions in this post written last year: resource-management-in-docker.