Use magic variable for Redis password
This commit is contained in:
parent
8ef759ff0a
commit
0a35594508
1 changed files with 2 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
- CLICKHOUSE_HOST=http://clickhouse
|
||||
- CLICKHOUSE_PASSWORD=$SERVICE_PASSWORD_CLICKHOUSE
|
||||
- REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
|
|
@ -75,7 +76,7 @@ services:
|
|||
environment:
|
||||
- REDIS_PORT=${REDIS_PORT:-6379}
|
||||
- REDIS_USER=${REDIS_USER:-default}
|
||||
- REDIS_PASSWORD=${REDIS_PASSWORD:-}
|
||||
- REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
|
|
|
|||
Loading…
Reference in a new issue