upgrade elasticsearch to 7.9.1

This commit is contained in:
maxlath
2020-09-24 17:34:52 +02:00
committed by jums
parent 84457ff4b0
commit c33bad2b4b
2 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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: