🐞fix(M .env.example
M docker-compose.yml): redis --requirepass
This commit is contained in:
parent
e5ea20f0fb
commit
e776f61745
@ -401,6 +401,7 @@ CLICKHOUSE_HOST_LOG_PATH=./logs/clickhouse
|
|||||||
### REDIS #################################################
|
### REDIS #################################################
|
||||||
|
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
REDIS_PASSWORD=secret_redis
|
||||||
|
|
||||||
### REDIS CLUSTER #########################################
|
### REDIS CLUSTER #########################################
|
||||||
|
|
||||||
|
@ -723,6 +723,7 @@ services:
|
|||||||
build: ./redis
|
build: ./redis
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/redis:/data
|
- ${DATA_PATH_HOST}/redis:/data
|
||||||
|
command: --requirepass ${REDIS_PASSWORD}
|
||||||
ports:
|
ports:
|
||||||
- "${REDIS_PORT}:6379"
|
- "${REDIS_PORT}:6379"
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user