Merge pull request #3218 from xiagw/fix-redis-requirepass

🐞fix(M  .env.example M  docker-compose.yml): redis --requirepass
This commit is contained in:
Shao Yu-Lung (Allen) 2022-05-21 10:43:28 +08:00 committed by GitHub
commit 0da3043334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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 #########################################

View File

@ -627,7 +627,7 @@ services:
build: build:
context: ./postgres-postgis context: ./postgres-postgis
args: args:
- POSTGIS_VERSION=${POSTGIS_VERSION} - POSTGIS_VERSION=${POSTGIS_VERSION}
- INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13} - INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13}
volumes: volumes:
- ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data - ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data
@ -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: