Skip to content

Commit

Permalink
🐛 Fix missing redis-commaner password support (ITISFoundation#6131)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Dustin Kaiser <[email protected]>
Co-authored-by: Odei Maiz <[email protected]>
Co-authored-by: Mads Bisgaard <[email protected]>
Co-authored-by: Sylvain <[email protected]>
Co-authored-by: Andrei Neagu <[email protected]>
Co-authored-by: Andrei Neagu <[email protected]>
Co-authored-by: Pedro Crespo-Valero <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
9 people authored Aug 12, 2024
1 parent 87cec7e commit 684a11c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
16 changes: 8 additions & 8 deletions services/docker-compose-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ services:
environment:
- >-
REDIS_HOSTS=
resources:${REDIS_HOST}:${REDIS_PORT}:0,
locks:${REDIS_HOST}:${REDIS_PORT}:1,
validation_codes:${REDIS_HOST}:${REDIS_PORT}:2,
scheduled_maintenance:${REDIS_HOST}:${REDIS_PORT}:3,
user_notifications:${REDIS_HOST}:${REDIS_PORT}:4,
announcements:${REDIS_HOST}:${REDIS_PORT}:5,
distributed_identifiers:${REDIS_HOST}:${REDIS_PORT}:6,
deferred_tasks:${REDIS_HOST}:${REDIS_PORT}:7
resources:${REDIS_HOST}:${REDIS_PORT}:0:${REDIS_PASSWORD},
locks:${REDIS_HOST}:${REDIS_PORT}:1:${REDIS_PASSWORD},
validation_codes:${REDIS_HOST}:${REDIS_PORT}:2:${REDIS_PASSWORD},
scheduled_maintenance:${REDIS_HOST}:${REDIS_PORT}:3:${REDIS_PASSWORD},
user_notifications:${REDIS_HOST}:${REDIS_PORT}:4:${REDIS_PASSWORD},
announcements:${REDIS_HOST}:${REDIS_PORT}:5:${REDIS_PASSWORD},
distributed_identifiers:${REDIS_HOST}:${REDIS_PORT}:6:${REDIS_PASSWORD},
deferred_tasks:${REDIS_HOST}:${REDIS_PORT}:7:${REDIS_PASSWORD}
# If you add/remove a db, do not forget to update the --databases entry in the docker-compose.yml
ports:
- "18081:8081"
Expand Down
11 changes: 10 additions & 1 deletion services/web/server/tests/unit/with_dbs/docker-compose-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@ services:
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOSTS=resources:redis:6379:0,locks:redis:6379:1,validation_codes:redis:6379:2,scheduled_maintenance:redis:6379:3,user_notifications:redis:6379:4,announcements:redis:6379:5
- >-
REDIS_HOSTS=
resources:redis:6379:0:${TEST_REDIS_PASSWORD},
locks:redis:6379:1:${TEST_REDIS_PASSWORD},
validation_codes:redis:6379:2:${TEST_REDIS_PASSWORD},
scheduled_maintenance:redis:6379:3:${TEST_REDIS_PASSWORD},
user_notifications:redis:6379:4:${TEST_REDIS_PASSWORD},
announcements:redis:6379:5:${TEST_REDIS_PASSWORD},
distributed_identifiers:redis:6379:6:${TEST_REDIS_PASSWORD},
deferred_tasks:redis:6379:7:${TEST_REDIS_PASSWORD}
ports:
- "18081:8081"

Expand Down

0 comments on commit 684a11c

Please sign in to comment.