upgrade elasticsearch to 7.9.1
This commit is contained in:
@@ -53,6 +53,12 @@ echo "module.exports = {
|
||||
|
||||
You can optionnally install translation dependencies of[inventaire-i18n](https://github.com/inventaire/inventaire-i18n/) [need more details]
|
||||
|
||||
### Troubleshooting
|
||||
#### elasticsearch errors
|
||||
- `max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]`: fix by running the command `sudo sysctl -w vm.max_map_count=262144` on your host machine
|
||||
|
||||
See also [Elasticsearch with Docker](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/docker.html)
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
|
||||
@@ -24,10 +24,12 @@ services:
|
||||
network_mode: host
|
||||
tty: true
|
||||
elasticsearch:
|
||||
image: elasticsearch:2.4
|
||||
image: elasticsearch:7.9.1
|
||||
environment:
|
||||
- 'http.host=0.0.0.0'
|
||||
- 'transport.host=127.0.0.1'
|
||||
# See https://www.elastic.co/guide/en/elasticsearch/reference/7.9/docker.html
|
||||
- 'discovery.type=single-node'
|
||||
ports :
|
||||
- '127.0.0.1:9200:9200'
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user