When using the docker-compose file, elasticsearch fails to start with the following error:
```
elasticsearch_1 | [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
```
Adding
```
nofile:
soft: 65536
hard: 65536
```
to the elasticsearch ulimit section fixes the issue.