ItaloBC
bbbd247653
ElasticSearch instance fails at loading (wrong)
ElasticSearch (ES from now onwards) will fail to initialize since the parameters for its environment are not correct or absent. These are: * `cluster.name`: Name of the cluster itself * `bootstrap.memory_lock`: Needed for ES to [lock the JVM into swap instead of memory](https://www.elastic.co/guide/en/elasticsearch/reference/master/_memory_lock_check.html). * `"ES_JAVA_OPTS=-Xms256m -Xmx256m"`: [Initial and maximum HEAP size for JVM](https://www.elastic.co/guide/en/elasticsearch/reference/current/_heap_size_check.html). Since it's locked to disk, should be the same. Half the defaults (512m) for development. * `ulimits: memlock: soft (-1), hard (-1)`: [ES needs to have unlimited access to memory](https://www.elastic.co/guide/en/elasticsearch/reference/current/max-size-virtual-memory-check.html), otherwise it will feel sluggish. * `mem_limit: 512m`: Hard limit the memory available for the container. This can, and should, be changed using `.env` file variables, but it seems that this should suffice for basic ES development.
Use Docker first and learn about it later.
A Docker PHP development environment that facilitates running PHP Apps on Docker.
Documentation
Credits
Maintainers:
- Mahmoud Zalt @mahmoudz | Twitter | Site
- Bo-Yi Wu @appleboy | Twitter
- Philippe Trépanier @philtrep
- Mike Erickson @mikeerickson
- Dwi Fahni Denni @zeroc0d3
- Thor Erik @thorerik
- Winfried van Loon @winfried-van-loon
- TJ Miller @sixlive
- Yu-Lung Shao (Allen) @bestlong
- Milan Urukalo @urukalo
- Join Us.
License
MIT License (MIT)
Description
Languages
Dockerfile
53.7%
Shell
24.1%
VCL
7%
HTML
7%
JavaScript
5.2%
Other
2.9%