Merge branch 'master' into mg/issue/224/postgresql-password-sed
This commit is contained in:
commit
8e83c57dbd
@ -50,14 +50,13 @@ Elasticsearch is enabled by default in the example `docker-compose.yml` file. It
|
|||||||
|
|
||||||
We've updated the Elasticsearch image from 5.6 to 7.6.
|
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 indices and rebuild them.
|
As there is no direct upgrade path we have to delete all Elasticsearch indices and rebuild them.
|
||||||
Do the following to empty the ES docker volume:
|
This will depend on the name of your docker container and volume, which depends on the checkout directory (`zammad-docker-compose` by default):
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker-compose stop
|
docker-compose stop
|
||||||
set -o pipefail DOCKER_VOLUME="$(docker volume inspect zammaddockercompose_elasticsearch-data | grep Mountpoint | sed -e 's#.*": "##g' -e 's#",##')/*"
|
docker container rm zammad-docker-compose_zammad-elasticsearch_1
|
||||||
echo "${DOCKER_VOLUME}" #check this is a valid docker volume path! if not do not proceed or you might lose data!
|
docker volume rm zammad-docker-compose_elasticsearch-data
|
||||||
rm -r $(docker volume inspect zammaddockercompose_elasticsearch-data | grep Mountpoint | sed -e 's#.*": "##g' -e 's#",##')/*
|
docker-compose up --no-recreate
|
||||||
docker-compose start
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To workaround the [changes in the PostgreSQL 9.6 container](https://github.com/docker-library/postgres/commit/f1bc8782e7e57cc403d0b32c0e24599535859f76) do the following:
|
To workaround the [changes in the PostgreSQL 9.6 container](https://github.com/docker-library/postgres/commit/f1bc8782e7e57cc403d0b32c0e24599535859f76) do the following:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ruby:2.6.6-slim AS builder
|
FROM ruby:2.6.8-slim AS builder
|
||||||
# note: zammad is currently incompatible to alpine because of:
|
# note: zammad is currently incompatible to alpine because of:
|
||||||
# https://github.com/docker-library/ruby/issues/113
|
# https://github.com/docker-library/ruby/issues/113
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ RUN chmod +x /tmp/setup.sh; \
|
|||||||
/tmp/setup.sh builder
|
/tmp/setup.sh builder
|
||||||
|
|
||||||
|
|
||||||
FROM ruby:2.6.6-slim
|
FROM ruby:2.6.8-slim
|
||||||
|
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
Loading…
Reference in New Issue
Block a user