Elasticsearch-related services are optional, but as of now, they're always also being composed up with the docker-compose.yml file. However, not all the time developers typically use APM and the rest of ES stack, and ES is very infamous for consuming 3G+ of RAM (so depending on the resources of your laptop/computer it might be too much), so we should split into multiple docker-compose files, and by default on docker-compose.yml that's also mentioned in our tutorials only leave mongo there.
Elasticsearch-related services are optional, but as of now, they're always also being composed up with the
docker-compose.yml
file. However, not all the time developers typically use APM and the rest of ES stack, and ES is very infamous for consuming 3G+ of RAM (so depending on the resources of your laptop/computer it might be too much), so we should split into multiple docker-compose files, and by default ondocker-compose.yml
that's also mentioned in our tutorials only leavemongo
there.