From 351c90ed860433b17a76dfcd20624d536cb044a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Thu, 20 Feb 2020 16:18:13 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5cc7ba4..0faea3c 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,10 @@ Like this, you can add your `docker-compose.prod.yml` to a branch of your Git re We've updated the Elasticsearch image from 5.6 to 7.6. As there is no direct upgrade path we have to delete all Elasticsearch indicies and rebuild them. -To do this start docker-compose like: +Do the following to empty the ES docker volume: ``` -docker-compose up -e ELASTICSEARCH_PURGE=true +docker-compose stop +rm -r $(docker volume inspect zammaddockercompose_elasticsearch-data | grep Mountpoint | sed -e 's#.*": "##g' -e 's#",##')/* +docker-compose start ```