Browse Source
Feature/enable redis authentication in docker compose files (#2805)
* Enable redis authentication in docker-compose files
* Update changelog
pull/2828/head
psychowood
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
12 additions and
2 deletions
-
CHANGELOG.md
-
docker/docker-compose.build.yml
-
docker/docker-compose.dev.yml
-
docker/docker-compose.yml
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Added |
|
|
|
|
|
|
|
- Added support for REST APIs (`JSON`) via the scraper configuration |
|
|
|
- Enabled the _Redis_ authentication in the `docker-compose` files |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
|
|
@ -29,8 +29,11 @@ services: |
|
|
|
- postgres:/var/lib/postgresql/data |
|
|
|
redis: |
|
|
|
image: redis:alpine |
|
|
|
env_file: |
|
|
|
- ../.env |
|
|
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD] |
|
|
|
healthcheck: |
|
|
|
test: ['CMD-SHELL', 'redis-cli ping | grep PONG'] |
|
|
|
test: ['CMD-SHELL', 'redis-cli --pass $REDIS_PASSWORD ping | grep PONG'] |
|
|
|
interval: 10s |
|
|
|
timeout: 5s |
|
|
|
retries: 5 |
|
|
|
|
|
@ -14,6 +14,9 @@ services: |
|
|
|
image: redis:alpine |
|
|
|
container_name: redis |
|
|
|
restart: unless-stopped |
|
|
|
env_file: |
|
|
|
- ../.env |
|
|
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD] |
|
|
|
ports: |
|
|
|
- ${REDIS_PORT:-6379}:6379 |
|
|
|
|
|
|
|
|
|
@ -29,8 +29,11 @@ services: |
|
|
|
- postgres:/var/lib/postgresql/data |
|
|
|
redis: |
|
|
|
image: redis:alpine |
|
|
|
env_file: |
|
|
|
- ../.env |
|
|
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD] |
|
|
|
healthcheck: |
|
|
|
test: ['CMD-SHELL', 'redis-cli ping | grep PONG'] |
|
|
|
test: ['CMD-SHELL', 'redis-cli --pass $REDIS_PASSWORD ping | grep PONG'] |
|
|
|
interval: 10s |
|
|
|
timeout: 5s |
|
|
|
retries: 5 |
|
|
|