🐞fix(M .env.example

M  docker-compose.yml): redis --requirepass
This commit is contained in:
xiagw 2022-05-18 09:21:20 +08:00
parent e5ea20f0fb
commit e776f61745
No known key found for this signature in database
GPG Key ID: 71003D6667FFFB53
2 changed files with 3 additions and 1 deletions

View File

@ -401,6 +401,7 @@ CLICKHOUSE_HOST_LOG_PATH=./logs/clickhouse
### REDIS #################################################
REDIS_PORT=6379
REDIS_PASSWORD=secret_redis
### REDIS CLUSTER #########################################

View File

@ -723,6 +723,7 @@ services:
build: ./redis
volumes:
- ${DATA_PATH_HOST}/redis:/data
command: --requirepass ${REDIS_PASSWORD}
ports:
- "${REDIS_PORT}:6379"
networks: