Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/Quote redis password for healthcheck in docker-compose files (#3969)

asiananimal2b3fcf410539
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f2defc727..485d7b5080 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 636d9a4e36..02442c0c2c 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 0d2166ba84..642912b739 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