From 2b3fcf410539369dd5e4004c8a3b3eea8b76e9ba Mon Sep 17 00:00:00 2001 From: asiananimal Date: Tue, 22 Oct 2024 10:52:23 -0700 Subject: [PATCH] Feature/Quote redis password for healthcheck in docker-compose files (#3969) * Quote redis password for healthcheck in docker-compose files * Update changelog --- CHANGELOG.md | 1 + docker/docker-compose.build.yml | 2 +- docker/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2defc72..485d7b508 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed the warning `export was not found` in connection with `GetValuesParams` +- Quoted the password for the _Redis_ service `healthcheck` in the `docker-compose` files (`docker-compose.yml` and `docker-compose.build.yml`) ## 2.117.0 - 2024-10-19 diff --git a/docker/docker-compose.build.yml b/docker/docker-compose.build.yml index 636d9a4e3..02442c0c2 100644 --- a/docker/docker-compose.build.yml +++ b/docker/docker-compose.build.yml @@ -39,7 +39,7 @@ services: - ../.env command: ['redis-server', '--requirepass', $REDIS_PASSWORD] healthcheck: - test: ['CMD-SHELL', 'redis-cli --pass $REDIS_PASSWORD ping | grep PONG'] + test: ['CMD-SHELL', 'redis-cli --pass "$REDIS_PASSWORD" ping | grep PONG'] interval: 10s timeout: 5s retries: 5 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0d2166ba8..642912b73 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -58,7 +58,7 @@ services: - ../.env command: ['redis-server', '--requirepass', $REDIS_PASSWORD] healthcheck: - test: ['CMD-SHELL', 'redis-cli --pass $REDIS_PASSWORD ping | grep PONG'] + test: ['CMD-SHELL', 'redis-cli --pass "$REDIS_PASSWORD" ping | grep PONG'] interval: 10s timeout: 5s retries: 5