diff --git a/.env.example b/.env.example index 3adafe94..54a5fd57 100644 --- a/.env.example +++ b/.env.example @@ -401,6 +401,7 @@ CLICKHOUSE_HOST_LOG_PATH=./logs/clickhouse ### REDIS ################################################# REDIS_PORT=6379 +REDIS_PASSWORD=secret_redis ### REDIS CLUSTER ######################################### diff --git a/docker-compose.yml b/docker-compose.yml index 70cef48e..ad18f128 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -627,7 +627,7 @@ services: build: context: ./postgres-postgis args: - - POSTGIS_VERSION=${POSTGIS_VERSION} + - POSTGIS_VERSION=${POSTGIS_VERSION} - INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13} volumes: - ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data @@ -723,6 +723,7 @@ services: build: ./redis volumes: - ${DATA_PATH_HOST}/redis:/data + command: --requirepass ${REDIS_PASSWORD} ports: - "${REDIS_PORT}:6379" networks: