Browse Source

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

* Quote redis password for healthcheck in docker-compose files

* Update changelog
pull/3949/head
asiananimal 3 months ago
committed by GitHub
parent
commit
2b3fcf4105
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      docker/docker-compose.build.yml
  3. 2
      docker/docker-compose.yml

1
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

2
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

2
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

Loading…
Cancel
Save